Skip to content

Commit ce6f165

Browse files
committed
refactor: Drop top border on main container on mobile
Signed-off-by: Felicitas Pojtinger <felicitas@pojtinger.com>
1 parent ee093bf commit ce6f165

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

assets/scss/main.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,12 @@ $font-path: "../../webfonts";
408408
--pf-v6-c-page__main-container--BorderBlockEndWidth: 0;
409409
}
410410

411+
.pf-v6-c-drawer__content.pf-v6-c-page__main-container {
412+
@media screen and (max-width: calc(#{$pf-v6-global--breakpoint--md} - 1px)) {
413+
border-block-start-width: 0;
414+
}
415+
}
416+
411417
// On the home page, only remove the right margin when the Mastodon feed sidebar is visible
412418
.pf-v6-c-drawer__content.pf-v6-c-page__main-container {
413419
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {

0 commit comments

Comments
 (0)