Scrollbar displayed even when element is not overflowing #5282
Labels
🕹 aspect: interface
Concerns end-users' experience with the software
🛠 goal: fix
Bug fix
good first issue
New-contributor friendly
help wanted
Open to participation from the community
🟩 priority: low
Low priority and doesn't need to be rushed
🧱 stack: frontend
Related to the Nuxt frontend
Description
Setting overflow to
scroll
instead of auto makes Windows browsers display the scrollbar even if the content is not scrollable (browsers on MacOS hide it)Reproduction
Screenshots
Environment
Additional context
To fix the issue, the following lines need to change:
openverse/frontend/src/layouts/default.vue
Line 17 in b0ac47d
Replace
overflow-y-scroll
withoverflow-y-auto
.openverse/frontend/src/components/VModal/VModalContent.vue
Lines 229 to 230 in b0ac47d
Replace
scroll
withauto
The text was updated successfully, but these errors were encountered: