File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -200,17 +200,28 @@ const HotbarInner = () => {
200
200
< ItemName itemKey = { itemKey } />
201
201
< Portal >
202
202
< div
203
- className = 'hotbar' ref = { container } style = { {
203
+ className = 'hotbar-fullscreen-container'
204
+ style = { {
204
205
position : 'fixed' ,
206
+ top : 0 ,
205
207
left : 0 ,
206
- right : 0 ,
208
+ width : '100dvw' ,
209
+ height : '100dvh' ,
210
+ zIndex : hasModals ? 1 : 8 ,
207
211
display : 'flex' ,
208
212
justifyContent : 'center' ,
209
- zIndex : hasModals ? 1 : 8 ,
210
213
pointerEvents : 'none' ,
211
- bottom : 'var(--hud-bottom-raw)'
212
- } }
213
- />
214
+ } } >
215
+ < div
216
+ className = 'hotbar'
217
+ ref = { container }
218
+ style = { {
219
+ position : 'absolute' ,
220
+ pointerEvents : 'none' ,
221
+ bottom : 'var(--hud-bottom-raw)'
222
+ } }
223
+ />
224
+ </ div >
214
225
</ Portal >
215
226
</ SharedHudVars >
216
227
}
You can’t perform that action at this time.
0 commit comments