Skip to content

Commit

Permalink
💄 Style: update common style
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Aug 5, 2024
1 parent 976db36 commit 9a1b457
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 0 additions & 6 deletions assets/css/_core/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@
.d-none {
display: none !important;
}
.d-none-desktop {
display: none;
}
.d-none-mobile {
display: block;
}

.ms-1,
.mx-1 {
Expand Down
6 changes: 4 additions & 2 deletions assets/css/_core/_media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
}

@media only screen and (min-width: 681px) {
.d-none-desktop {
display: none;
}
.breadcrumb-container.sticky {
body:not([data-header-desktop='sticky']) & {
top: 0;
Expand All @@ -79,8 +82,7 @@
display: none;
}

#header-mobile,
.d-none-desktop {
#header-mobile {
display: block;
}

Expand Down

0 comments on commit 9a1b457

Please sign in to comment.