Skip to content

Commit

Permalink
[CIVIC-1937] Add page level styles into Drupal theme. (#1308)
Browse files Browse the repository at this point in the history
Implements #392 in uikit within drupal
  • Loading branch information
alan-cole authored Oct 7, 2024
1 parent 3060e31 commit e618cf3
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions web/themes/contrib/civictheme/assets/sass/page/_page.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// Page level configuration.
//

html {
// stylelint-disable property-no-vendor-prefix
-webkit-text-size-adjust: 100%;
}

body {
margin: 0;
}
1 change: 1 addition & 0 deletions web/themes/contrib/civictheme/assets/sass/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
// components.
//
// These overrides will not be visible in the Storybook.
@import 'page/page';
@import 'header/header';
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// Page level configuration.
//

html {
// stylelint-disable property-no-vendor-prefix
-webkit-text-size-adjust: 100%;
}

body {
margin: 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
//
// These overrides will not be visible in the Storybook.
// @todo Refactor webpack config to use direct import from the CivicTheme theme.
@import 'page/page';
@import 'block/local-tasks';

0 comments on commit e618cf3

Please sign in to comment.