Skip to content

Commit

Permalink
fix: πŸ› Calendar's label is mis-aligned
Browse files Browse the repository at this point in the history
βœ… Closes: #147
  • Loading branch information
MadejaMaciej committed May 6, 2024
1 parent 6814ca9 commit 62f71cb
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 13 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Bug #178: Fix for player to be able to move in mobile version (MadejaMaciej)
- Bug #177: Fix for menu and other parts not visible in mobile version (MadejaMaciej)
- Bug #147: Fix for calendar's label is mis-aligned (MadejaMaciej)
- Bug #99: Buttons and clock's dial mis-aligned (MadejaMaciej)
- Bug #86: Fix status bar image (MadejaMaciej)

Expand Down
15 changes: 2 additions & 13 deletions src/components/ui/DayBoard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,8 @@ import React from "react";

function DayBoard() {
return (
<div
style={{
background: "#503000",
}}
>
<h3
style={{
textAlign: "center",
margin: 0,
}}
>
MONDAY
</h3>
<div className="day-board">
<h3 className="day-board-text">MONDAY</h3>
</div>
);
}
Expand Down
27 changes: 27 additions & 0 deletions src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,30 @@ body:focus {
.trademark {
color: hsl(0deg 0% 5.49%);
}

.day-board {
background: #503000;
padding: 0px 10px;
min-width: 13vw;
box-shadow: #000 4px 4px;
}

.day-board-text {
text-align: center;
margin: 0;
font-size: 18px;
line-height: 28px;
color: #fff;
}

@media screen and (max-width: 900px) and (max-height: 600px) {
.day-board {
padding: 0px 5px;
box-shadow: #000 2px 2px;
}

.day-board-text {
font-size: 14px;
line-height: 22px;
}
}

0 comments on commit 62f71cb

Please sign in to comment.