Skip to content

Commit

Permalink
[CIVIC-1937] Add page level styles into Drupal theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-cole committed Oct 4, 2024
1 parent 4723b06 commit 3d714a7
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
11 changes: 11 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,11 @@
//
// Page level configuration.
//

html {
-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,11 @@
//
// Page level configuration.
//

html {
-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 3d714a7

Please sign in to comment.