Skip to content

Commit

Permalink
fix: media query day composer fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
DominMFD committed Sep 11, 2024
1 parent a7a3098 commit 3bf7c70
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
@use '~styles/breakpoints.scss' as breakpoints;

.day {
width: 4rem;
height: 4rem;
width: 3.2rem;
height: 3.2rem;

justify-self: center;

Expand All @@ -16,7 +16,7 @@
font-family: fonts.$primaryFont;
color: colors.$gray500;
text-align: center;
font-size: fonts.$sm;
font-size: fonts.$xxs;
font-weight: fonts.$medium;

border: 0.1rem solid colors.$gray150;
Expand Down
11 changes: 10 additions & 1 deletion src/components/Calendar/components/DayComposer/index.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
@use '~styles/base.scss';
@use '~styles/colors.scss' as colors;
@use '~styles/fonts.scss' as fonts;
@use '~styles/breakpoints.scss' as breakpoints;

.day-composer {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 0.8rem;
gap: 0.2rem;

list-style: none;

@include breakpoints.from360 {
gap: 0.8rem;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
font-family: fonts.$fourthFont;
color: rgb(160, 174, 192);
text-align: center;
font-size: 1.2rem;
font-size: 1rem;
font-weight: fonts.$regular;

&--active {
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/components/SideMenu/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
}

.side-menu-content {
width: 70%;
width: 80%;

&__menuitens {
transition: 0.3s;
Expand Down
1 change: 0 additions & 1 deletion src/styles/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ $error100: rgb(179, 38, 30);

$white: rgb(255, 255, 255);

// neutrals (Gray)
// neutrals (Grey)
$gray100: rgb(247, 250, 252);
$gray150: rgb(236, 239, 242);
Expand Down

0 comments on commit 3bf7c70

Please sign in to comment.