Skip to content

Commit

Permalink
webkit-fill-available
Browse files Browse the repository at this point in the history
  • Loading branch information
wd-4000 committed Dec 27, 2023
1 parent d1dac96 commit 3e496b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/runtime/components/e/nav/sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ const state = reactive({
--expansion-amount: calc(
var(--expanded-sidebar-width) - var(--collapsed-sidebar-width)
);
}
.e-sidebar {
Expand Down Expand Up @@ -61,6 +63,9 @@ const state = reactive({
transition: transform 0.25s ease-in-out;
background-color: var(--e-color-light);
width: 100%;
width: -moz-available; /* WebKit-based browsers will ignore this. */
width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
width: fill-available;
height: 100%;
left: 3.5rem;
top: 0rem;
Expand Down

0 comments on commit 3e496b8

Please sign in to comment.