Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit b8c7b7c

Browse files
committed
fix: on phones, hide StatusStripe and TopTabStripe in landscape
1 parent a866148 commit b8c7b7c

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

plugins/plugin-client-common/web/scss/components/StatusStripe/StatusStripe.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,3 +287,9 @@ $z-index: var(--pf-global--ZIndex--xs);
287287

288288
@include HideInNarrowWindows;
289289
}
290+
291+
@media (orientation: landscape) and (max-height: 450px) {
292+
@include StatusStripe {
293+
display: none;
294+
}
295+
}

plugins/plugin-client-common/web/scss/components/TopTabStripe/_index.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,3 +241,9 @@ $tab-label-font-size: 0.875rem;
241241
align-items: stretch;
242242
}
243243
}
244+
245+
@media (orientation: landscape) and (max-height: 450px) {
246+
@include TopTabStripeAbsolute {
247+
display: none;
248+
}
249+
}

plugins/plugin-client-common/web/scss/components/TopTabStripe/_mixins.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ $height: 3em;
2323
}
2424

2525
@mixin TopTabStripe {
26-
.pf-c-page,
2726
.kui--top-tab-stripe-header {
2827
@content;
2928
}

0 commit comments

Comments
 (0)