File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,21 @@ $font-path: "../../webfonts";
1212@import " @fortawesome/fontawesome-free/scss/solid" ;
1313@import " @fortawesome/fontawesome-free/scss/brands" ;
1414
15+ // Remove the bottom corner & padding from the Patternfly page to get more vertical space
16+ .pf-v6-c-page {
17+ --pf-v6-c-page__main-container--BorderRadius : var (--pf-t--global--border--radius--medium ) var (--pf-t--global--border--radius--medium ) 0 0 ;
18+ --pf-v6-c-page__main-container--AlignSelf : stretch ;
19+ --pf-v6-c-page__main-container--MaxHeight : 100% ;
20+ --pf-v6-c-page__main-container--BorderBlockEndWidth : 0 ;
21+ }
22+
23+ // On the home page, only remove the right margin when the Mastodon feed sidebar is visible
24+ .pf-v6-c-drawer__content.pf-v6-c-page__main-container {
25+ @media screen and (min-width : $pf-v6-global--breakpoint--xl ) {
26+ --pf-v6-c-page__main-container--MarginInlineEnd : 0 ;
27+ }
28+ }
29+
1530// By default this is a `<div>`, but we want to use the native `<dialog>` component instead
1631dialog .pf-v6-c-modal-box :not ([open ]) {
1732 display : none ;
Original file line number Diff line number Diff line change 7777 < div class ="pf-v6-c-page__drawer ">
7878 < div class ="pf-v6-c-drawer pf-m-static pf-m-expanded " id ="feed-drawer ">
7979 < div class ="pf-v6-c-drawer__main ">
80- < div class ="pf-v6-c-drawer__content pf-v6-c-page__main-container " style =" margin-inline-end: 0; " >
80+ < div class ="pf-v6-c-drawer__content pf-v6-c-page__main-container ">
8181 < div class ="pf-v6-c-drawer__body ">
8282 < main class ="pf-v6-c-page__main " id ="main-content ">
8383 {{ block "main" . }}{{ end }}
You can’t perform that action at this time.
0 commit comments