Skip to content

Commit 5896773

Browse files
committed
fix(fullscreen): adjust heights to show full content and prevent clipping
1 parent 6d2f31b commit 5896773

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

src/app/views/home/home-view.scss

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222

2323
.router-container {
2424
width: 100%;
25-
height: 100%;
26-
overflow: hidden;
25+
display: flex;
26+
flex-direction: column;
27+
flex: 1;
2728
}
2829

2930
.tab-container {
3031
width: 100%;
31-
overflow: hidden;
3232
flex-shrink: 0;
3333
display: flex;
3434
flex-direction: row;
@@ -144,19 +144,13 @@
144144
}
145145
}
146146

147-
:fullscreen {
148-
width: 100vw;
149-
height: 100vh;
150-
overflow: hidden;
151-
display: block;
152-
background: white;
153-
color: var(--ig-gray-900, black);
154-
}
155-
147+
:fullscreen,
156148
:-webkit-full-screen {
157149
width: 100vw;
158150
height: 100vh;
159-
overflow: hidden;
151+
overflow: visible;
152+
display: flex;
153+
flex-direction: column;
160154
background: white;
161155
color: var(--ig-gray-900, black);
162-
}
156+
}

0 commit comments

Comments
 (0)