Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progress Indicator Doesn't Work #212

Open
Khadijahnclark opened this issue Dec 13, 2024 · 6 comments
Open

Progress Indicator Doesn't Work #212

Khadijahnclark opened this issue Dec 13, 2024 · 6 comments

Comments

@Khadijahnclark
Copy link

Hello, I am trying to create a loading screen, however when testing the progress indicator element, I found that nothing shows up! I thought "Oh? Maybe it's transparent or something", so I went and try it put it in a window element but same issue. Thank you!

@stretch07
Copy link

share your code please, it works on the demo

@instilledbee
Copy link

instilledbee commented Dec 15, 2024

I also have the same issue. I installed 98.css via npm, and I think the version there might be different from the one in this repo. The progress indicator component was added on 18 Sep 2023, while the latest published version in npm was on 13 Mar 2023 Is it possible to publish a new version on npm so we can use the latest features of this theme?

Meanwhile, I guess we can just download and reference the latest 98.css file from the releases in this repo.

@instilledbee
Copy link

Actually, it seems the latest tagged release on this repo is further behind. Latest one was tagged on 22 May 2022.

For those of us who need the latest features now, the best way to do so would be to build manually from source.

@Gatorzgaming
Copy link

Gatorzgaming commented Dec 23, 2024

Not sure if I am just failing at programing (The fact that this issue exist makes me think otherwise) but here if my code
image

<link
  rel="stylesheet"
  href="https://unpkg.com/98.css"
>
<div class="window" style="width: 300px">
  <div class="title-bar">
    <div class="title-bar-text">A Window With Stuff In It</div>
    <div class="title-bar-controls">
      <button aria-label="Minimize"></button>
      <button aria-label="Maximize"></button>
      <button aria-label="Close"></button>
    </div>
  </div>
  <div class="window-body">
    <p>
      Follower Goal
      
    </p>
    <div class="progress-indicator">
      <span class="progress-indicator-bar"  style="width: 40%;" />
    </div>
  </div>
    
</div>

@Jetaime-Alexandria
Copy link

Jetaime-Alexandria commented Dec 26, 2024

Doing a little inspect element, here's the .CSS that should have the latest changes.

https://jdan.github.io/98.css/98.css

edit:
I tested it, and this version of the .css has the progress bar whereas the one from the npm & jsdelivr doesn't have it.
image
<div class="progress-indicator segmented"> <span class="progress-indicator-bar" style="width: 40%;" /> </div>

edit 2:
You can also find it in their gh-pages branch
https://github.com/jdan/98.css/blob/gh-pages/98.css

@Gatorzgaming
Copy link

<link rel="stylesheet" href="https://jdan.github.io/98.css/98.css" />
<div class="window" style="width: 140px">
  <div class="title-bar">
    <div class="title-bar-text">Follower Goal</div>
    <div class="title-bar-controls">
      <button aria-label="Minimize"></button>
      <button aria-label="Close"></button>
    </div>
  </div>
  <div class="window-body">
    <p>
      <b> 17/20</b>
    </p>

    <div class="progress-indicator">
      <span class="progress-indicator-bar" style="width: 85%" />
    </div>
  </div>
</div>

image
It works! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants