mirror of
https://github.com/directus/directus.git
synced 2026-01-23 07:17:55 -05:00
Fix sidebar glitch on resize (#7903)
* fix sidebar glitch on resize * move scroll-padding-top property to original line Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
This commit is contained in:
@@ -146,6 +146,7 @@ export default defineComponent({
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow-x: hidden;
|
||||
background-color: var(--background-page);
|
||||
|
||||
.nav-overlay {
|
||||
@@ -267,12 +268,10 @@ export default defineComponent({
|
||||
position: relative;
|
||||
flex-basis: 60px;
|
||||
flex-shrink: 0;
|
||||
transform: none;
|
||||
transition: flex-basis var(--slow) var(--transition);
|
||||
transition: flex-basis var(--slow) var(--transition), transform var(--slow) var(--transition);
|
||||
|
||||
&.is-open {
|
||||
flex-basis: 280px;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,4 +82,3 @@ By default, the `create-directus-project` tool will set the file permissions of
|
||||
## Configure / Update / Upgrade your Project
|
||||
|
||||
See the [Project Guide](/guides/projects/#upgrading-updating-a-project) to learn how to maintain your project further.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user