OliverParoczai / nextcloud-unroundedcorners

An extension for making NextCloud buttons unrounded
GNU Affero General Public License v3.0
26 stars 5 forks source link

fix upload progress bar #1

Closed karlprieb closed 2 years ago

karlprieb commented 2 years ago

a quick fix dor the upload progress bar.

before:

image

after:

image
karlprieb commented 2 years ago

@OliverParoczai maybe we can change all those 4px to be var(--border-radius-pill). What do you think?

OliverParoczai commented 2 years ago

Thanks for the fix! Merging it now. Didn't check the upload bar for problems as I mainly upload files from the CLI, so it just got forgotten.

About setting the var: a good idea in my opinion, will work on that tomorrow! It's not something most people notice, but it's good for the value to be more easily modifiable for those who want to tinker with the underlying code. They already have the same value as the var, so it just unnecessary and by modifying it to be uniform, it makes the code simpler in the long run

Edit: Quickly added the variables before going to rest, should be live now! Thanks again for your contribution.