Closed Sasmira closed 11 months ago
I fixed that bug, it will get rolled into the main branch soon. You can grab my updated rpg-ui.css here https://github.com/darkanx/rpg-styled-ui/blob/main/css/rpg-ui.css or just change this section in the rpg-ui.css at line 23 until then:
/Fix v11/
overflow: clip;
} /end/
First problem
Create a new World
Add players to the game, more than 5 players preferred
expand the player menu to show all players
Write a message in the chat and press enter
entire interface shifts upwards
collapse the player menu and the entire interface returns to its original position
the problem comes from
the code line 799
the problem is
position: absolute
#players ol::before { position: absolute; content: " "; width: 120%; height: 130%; background: url(../ui/frames/players_bg_dark.webp); background-size: 100% 100%; z-index: -1; left: -10%; }
Second problem
when you collapse the macro bar, the entire interface shifts downwards
when you reactivate the macro bar, the interface does not return to its initial position. You have to write a text in the chat and press enter for the interface to return to its initial position.
the problem comes from
the code line 453
,the code line 472
the problem is
position: absolute
#action-bar:not(.collapsed)::before { position: absolute; z-index: -1; content: " "; width: 146%; bottom: -10px; left: -23%; height: 85px; background-image: url(../ui/frames/action_bar.webp); background-size: 100% 85px; background-repeat: no-repeat; }
#hotbar #action-bar .macro::before { background-image: url(../ui/frames/macro.webp); background-size: contain; background-repeat: no-repeat; position: absolute; content: " "; width: 61px; height: 78px; top: -11px; left: -9px; z-index: 1; }
line 24
will no longer be necessary.