Skip to content
Open
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
15 changes: 15 additions & 0 deletions web/themes/contrib/civictheme/assets/sass/ckeditor/_ckeditor.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//
// Drupal CK editor.
//

.ct-figure {
&.align-left {
margin: ct-spacing(1) ct-spacing(6) ct-spacing(2) 0;
}
&.align-center {
text-align: center;
}
&.align-right {
margin: ct-spacing(1) 0 ct-spacing(2) ct-spacing(6);
}
}
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 @@ -7,3 +7,4 @@
// These overrides will not be visible in the Storybook.
@import 'page/page';
@import 'header/header';
@import 'ckeditor/ckeditor';
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//
// Drupal CK editor.
//

.ct-figure {
&.align-left {
margin: ct-spacing(1) ct-spacing(6) ct-spacing(2) 0;
}
&.align-center {
text-align: center;
}
&.align-right {
margin: ct-spacing(1) 0 ct-spacing(2) ct-spacing(6);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
// @todo Refactor build to use direct import from the CivicTheme theme.
@import 'page/page';
@import 'block/local-tasks';
@import 'ckeditor/ckeditor';