Skip to content

Commit

Permalink
[FIx] Dialog fixed position breaking the view
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioislima committed Dec 9, 2024
1 parent 583f1e3 commit adfcfd6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/frontend/components/UI/Dialog/index.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
.Dialog__element {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1000;
display: flex;
flex-direction: column;
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/helpers/library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const launch = async ({
return res()
}
showDialogModal({
isModal: false,
isModal: true,
message: t(
'gamepage:box.compability.message',
'This Windows game will run using a compatibility layer. You might encounter some issues or the game might not work at all.'
Expand Down

0 comments on commit adfcfd6

Please sign in to comment.