Skip to content

Commit

Permalink
design: delete unnecessary properties and resize nav width
Browse files Browse the repository at this point in the history
  • Loading branch information
lumirlumir committed Oct 22, 2024
1 parent dbd07ae commit d03d4b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/components/layouts/Header/Header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
z-index: 1;
display: grid;
grid-template-columns: $size-sidebar-width 1fr 64px;
font-size: 32px;
background-color: inherit;
border-bottom: 1px solid var(--color-border-default);

Expand Down
2 changes: 1 addition & 1 deletion src/components/layouts/Main/Main.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.main {
display: grid;
grid-template-columns: 1fr 225px;
grid-template-columns: 1fr $size-nav-width;

> article {
grid-area: 1 / 1 / 2 / 2;
Expand Down
1 change: 1 addition & 0 deletions src/styles/utils/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ $size-40: 2.5rem;
$size-border-radius: 6px;
$size-header-height: 64px;
$size-sidebar-width: 256px;
$size-nav-width: $size-sidebar-width;

/* text-weight */
$text-weight-normal: 400;
Expand Down

0 comments on commit d03d4b5

Please sign in to comment.