Skip to content

Fix border radius for small progress bar - #2618

Merged
skjnldsv merged 1 commit into
masterfrom
fix/noid/progress-bar-small
Apr 8, 2022
Merged

Fix border radius for small progress bar#2618
skjnldsv merged 1 commit into
masterfrom
fix/noid/progress-bar-small

Conversation

@raimund-schluessler

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

Copy link
Copy Markdown
Contributor

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 force-pushed the fix/noid/progress-bar-small branch 4 times, most recently from bc71530 to 2c94f04 Compare April 8, 2022 07:13
@raimund-schluessler
raimund-schluessler marked this pull request as ready for review April 8, 2022 07:22
@raimund-schluessler raimund-schluessler added bug Something isn't working 3. to review Waiting for reviews labels Apr 8, 2022
@raimund-schluessler
raimund-schluessler marked this pull request as draft April 8, 2022 07:33
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
@raimund-schluessler
raimund-schluessler force-pushed the fix/noid/progress-bar-small branch from 2c94f04 to 9bf1fe5 Compare April 8, 2022 07:36
@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