Skip to content

Commit

Permalink
Cleanup UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Namaneo committed Sep 8, 2023
1 parent fcfefbd commit ca95bb8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion ui/sources/modals/games-modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export const GamesModal = ({ system, close }) => {
*/
const play = (game) => {
setGame(game);
start({ cssClass: 'fullscreen' });
start();
}

return (
Expand Down
2 changes: 1 addition & 1 deletion ui/sources/pages/home-page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const HomePage = () => {
*/
const showModal = (system) => {
setSystem(system);
open({ cssClass: 'fullscreen' });
open();
}

useIonViewWillEnter(async () => {
Expand Down
13 changes: 0 additions & 13 deletions ui/sources/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,19 +125,6 @@
/*
* Modals
*/
#root .modal {
--height: auto;
}

#root ion-modal.fullscreen {
--width: 100%;
--height: 100%;
--border-radius: 0;
--ion-background-color: unset;
--ion-toolbar-background: unset;
--ion-toolbar-border-color: unset;
}

#root .modal ion-list {
padding-top: 16px;
padding-bottom: 32px;
Expand Down

0 comments on commit ca95bb8

Please sign in to comment.