Skip to content

Commit

Permalink
Add missing [hidden] styling on tabs for legacy browsers
Browse files Browse the repository at this point in the history
Previously in: #2242
  • Loading branch information
colinrotherham committed Jan 31, 2023
1 parent bfd5594 commit fd3eaa0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/stylesheets/components/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@
@include govuk-media-query($from: desktop) {
margin-top: -2px;
}

&[hidden] {
display: none;
}
}

.app-tabs__container pre {
Expand Down

0 comments on commit fd3eaa0

Please sign in to comment.