mirror of
git://develop.git.wordpress.org/
synced 2025-04-08 06:02:41 +02:00
Themes: Force a scrollbar on the Themes page to prevent visual shake on hover.
On some browser & window size combinations (near where a scrollbar would appear), hovering over the theme card causes a layout shift. This makes the screen visually "jump" as the scrollbar appears and disappears. By forcing the scrollbar to be visible on this page, hovering doesn't cause the layout shift anymore. Props wparslan, sabernhardt, costdev, audrasjb. Fixes #53478. git-svn-id: https://develop.svn.wordpress.org/trunk@52185 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f4e75ee8b7
commit
076d207fc1
@ -7,6 +7,10 @@
|
||||
16.1 - Manage Themes
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.themes-php {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
body.js .theme-browser.search-loading {
|
||||
display: none;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user