Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/yellow-mice-lose.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@rhds/elements": patch
---

`<rh-footer>`: corrected height style when javascript is not available'

9 changes: 7 additions & 2 deletions elements/rh-footer/rh-footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@
display: flex;
flex-direction: column;
color-scheme: only dark !important;
}

/** Minimum height for the footer when JavaScript is disabled */
min-height: var(--rh-footer-nojs-min-height, 750px);
/* Should only be applied if scripting is disabled */
@media (scripting: none) {
:host {
/** Minimum height for the footer when JavaScript is disabled */
min-height: var(--rh-footer-nojs-min-height, 750px);
}
}

:host,
Expand Down
4 changes: 2 additions & 2 deletions elements/rh-navigation-primary/rh-navigation-primary.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
@container navigation-primary (min-width: 576px) {
border-block-end-color: transparent;
}

& svg {
block-size: 30px;
inline-size: 42px;
Expand All @@ -81,7 +81,7 @@
block-size: 30px;
inline-size: 125px;
}
}
}

& ::slotted(a),
& a {
Expand Down