mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Fix icons in dark mode, fix long savegame names
This commit is contained in:
parent
728f4ae253
commit
e04fcceecc
@ -310,6 +310,12 @@
|
||||
@include PlainText;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
||||
> span {
|
||||
display: inline-flex;
|
||||
@include S(max-width, 140px);
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
button.resumeGame,
|
||||
@ -363,6 +369,8 @@
|
||||
&:hover {
|
||||
opacity: 0.35;
|
||||
}
|
||||
|
||||
@include DarkThemeInvert;
|
||||
}
|
||||
|
||||
button.resumeGame {
|
||||
|
@ -398,7 +398,7 @@ export class MainMenuState extends GameState {
|
||||
elem,
|
||||
null,
|
||||
["name"],
|
||||
games[i].name ? games[i].name : T.mainMenu.savegameUnnamed
|
||||
"<span>" + (games[i].name ? games[i].name : T.mainMenu.savegameUnnamed) + "</span>"
|
||||
);
|
||||
|
||||
const deleteButton = document.createElement("button");
|
||||
|
Loading…
Reference in New Issue
Block a user