mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Merge pull request #3117 from Calinou/fix-search-bar-shadow
Fix search bar shadow when it's not fixed due to scrolling yet
This commit is contained in:
@@ -422,10 +422,14 @@ code,
|
||||
background-color: var(--navbar-background-color);
|
||||
}
|
||||
|
||||
.wy-side-nav-search.fixed {
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
/* Simulate a drop shadow that only affects the bottom edge */
|
||||
/* This is used to indicate the search bar is fixed */
|
||||
.wy-side-nav-search::after {
|
||||
.wy-side-nav-search.fixed::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
|
||||
Reference in New Issue
Block a user