Skip to content

Commit

Permalink
fixed styling issues for adaptivity on mobiles
Browse files Browse the repository at this point in the history
  • Loading branch information
AdLer-Lukas committed Nov 16, 2023
1 parent 84d41ae commit 02902e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default function AdaptivityElementDialogContainer({
return (
<StyledContainer className={tailwindMerge(className, "")}>
<div
className="fixed top-0 bottom-0 left-0 right-0 flex flex-col items-center bg-black bg-opacity-30 justify-center w-screen h-screen lg:grid lg:grid-rows-3 lg:items-start"
className="fixed top-0 bottom-0 left-0 right-0 flex flex-col items-center bg-black bg-opacity-30 justify-center w-screen h-full lg:grid lg:grid-rows-3 lg:items-start"
onClick={controller.closeModal}
>
{/* Background NPC */}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ export default function BreakTimeNotification({ className }: AdLerUIComponent) {
x
</div>
</StyledButton>
<StyledButton className="fixed lg:hidden left-2 bottom-2">
<StyledButton
className="fixed lg:hidden left-2 bottom-2"
onClick={() => controller.minimizeOrMaximizeBreakNotification()}
>
<img src={pauseIcon} className="h-fit" alt="" />
</StyledButton>
</div>
Expand Down

0 comments on commit 02902e6

Please sign in to comment.