File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 94
94
/* tab selection on the right */
95
95
.b-tabs.is-vertical
96
96
{
97
- height : 100 vh ;
97
+ height : 100 dvh ;
98
98
}
99
99
100
100
nav .tabs
@@ -133,12 +133,12 @@ nav.tabs
133
133
// handle options placement
134
134
.tabs li :first-child
135
135
{
136
- margin-top : calc (100 vh * 0.11 );
136
+ margin-top : calc (100 dvh * 0.11 );
137
137
}
138
138
.tabs li :nth-child (7 )
139
139
{
140
140
margin-top : auto ;
141
- margin-bottom : calc (100 vh * 0.02 );
141
+ margin-bottom : calc (100 dvh * 0.02 );
142
142
}
143
143
144
144
.tabs li a
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ const appCreated = createApp({
125
125
} ,
126
126
beforeMount : function ( ) {
127
127
// Definition of mobile: https://bulma.io/documentation/start/responsiveness/
128
- if ( window . innerWidth > 768 ) {
128
+ if ( document . documentElement . clientWidth > 768 ) {
129
129
this . uiVisible = true ;
130
130
this . isMobile = false ;
131
131
} else {
You can’t perform that action at this time.
0 commit comments