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

Fix border radius for small progress bar #2618

Merged
merged 1 commit into from
Apr 8, 2022

Conversation

raimund-schluessler
Copy link
Contributor

@raimund-schluessler raimund-schluessler commented Apr 7, 2022

This fixes the border-radius of the ProgressBar component. I introduced a CSS variable to dynamically set the height. Since the variable is scoped to the respective element, it does not pollute the global scope and multiple progress bars can exist with different heights / border radii on the same page.

See this screenshot from the docs in Firefox (I temporarily increased the height with the dev tools to make it obvious):
Screenshot 2022-04-08 at 09-56-55 Nextcloud Vue Style Guide

And in Chrome:
Unbenannt

Closes #2569.

@raimund-schluessler raimund-schluessler marked this pull request as draft April 8, 2022 07:33
Signed-off-by: Raimund Schlüßler <[email protected]>
@raimund-schluessler raimund-schluessler marked this pull request as ready for review April 8, 2022 08:00
@skjnldsv skjnldsv merged commit 46810c0 into master Apr 8, 2022
@skjnldsv skjnldsv deleted the fix/noid/progress-bar-small branch April 8, 2022 08:11
@raimund-schluessler raimund-schluessler added this to the 5.1.1 milestone Apr 8, 2022
@skjnldsv skjnldsv mentioned this pull request Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Visual issue with the small ProgressBar
3 participants