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 = () => {
200200 < ItemName itemKey = { itemKey } />
201201 < Portal >
202202 < div
203- className = 'hotbar' ref = { container } style = { {
203+ className = 'hotbar-fullscreen-container'
204+ style = { {
204205 position : 'fixed' ,
206+ top : 0 ,
205207 left : 0 ,
206- right : 0 ,
208+ width : '100dvw' ,
209+ height : '100dvh' ,
210+ zIndex : hasModals ? 1 : 8 ,
207211 display : 'flex' ,
208212 justifyContent : 'center' ,
209- zIndex : hasModals ? 1 : 8 ,
210213 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 >
214225 </ Portal >
215226 </ SharedHudVars >
216227}
You can’t perform that action at this time.
0 commit comments