Skip to content

Commit

Permalink
chore(css): Remove large desktop media
Browse files Browse the repository at this point in the history
  • Loading branch information
1ilsang committed Mar 27, 2024
1 parent f623579 commit 4075267
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 22 deletions.
9 changes: 2 additions & 7 deletions src/features/styles/_utils.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
@mixin root-container {
height: auto;
min-height: 100%;
margin: 0 10vw;
margin: auto;
max-width: 750px;
padding: 10vh 0;
}

Expand All @@ -27,12 +28,6 @@
}
}

@mixin large-desktop {
@media (min-width: $large-desktop) {
@content;
}
}

@mixin i-mac {
@media (min-width: $i-mac) {
@content;
Expand Down
1 change: 0 additions & 1 deletion src/features/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ $min-tablet: $mobile + 1;
$tablet: 1023px;
$min-desktop: 1024px;
$desktop: 1399px;
$large-desktop: 1400px;
$i-mac: 2400px;
$max-height: 8000px;
$highlight-color: #30ffcb;
Expand Down
5 changes: 0 additions & 5 deletions src/features/styles/ui/about/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@

&-container {
@include root-container;

@include large-desktop {
margin: 0 22vw;
padding: 10vh 0 5vh;
}
}

&-profile {
Expand Down
4 changes: 0 additions & 4 deletions src/features/styles/ui/about/project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@

.image {
width: 100%;

@include large-desktop {
width: 700px;
}
}

.text {
Expand Down
5 changes: 0 additions & 5 deletions src/features/styles/ui/posts/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

.post-container {
@include root-container;

@include large-desktop {
margin: auto;
max-width: 750px;
}
}

.post-nav-trans {
Expand Down

0 comments on commit 4075267

Please sign in to comment.