Skip to content

Commit

Permalink
EL-1875: Update CSS styles for No Java Script (#369)
Browse files Browse the repository at this point in the history
- update CSS styles for no JS, abiding to new templates
- review comments
  • Loading branch information
MazOneTwoOne authored Nov 4, 2024
1 parent 27aad69 commit c94fe80
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions fala/assets-src/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,18 @@ $laa-dev-colour: govuk-colour("pink");
}
}

.no-js .laa-cookie-policy {
display:none;
.laa-cookie-policy {
display: none;
.js-enabled & {
display: block;
}
}

.no-js .govuk-cookie-banner {
display:none;
.fala-cookie-banner {
display: none;
.js-enabled & {
display: block;
}
}

body:not(.fala-production) {
Expand Down

0 comments on commit c94fe80

Please sign in to comment.