Skip to content

Commit ea5a079

Browse files
joshua-salsadigitalalan-cole
authored andcommitted
[3526953] Fixed ct-figure class overwriting align-center, align-left, align-right class.
1 parent c039238 commit ea5a079

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// This file contains styles for the Ck Editor component in the CivicTheme.
3+
//
4+
5+
.ct-figure {
6+
$root: &;
7+
8+
&.align-left,
9+
&.align-center,
10+
&.align-right {
11+
display: block;
12+
margin-block-start: ct-particle(2);
13+
margin-block-end: ct-particle(2);
14+
margin-inline-start: ct-particle-px(5);
15+
margin-inline-end: ct-particle-px(5);
16+
}
17+
}

web/themes/contrib/civictheme/assets/sass/theme.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
// These overrides will not be visible in the Storybook.
88
@import 'page/page';
99
@import 'header/header';
10+
@import 'ckeditor/ckeditor';

0 commit comments

Comments
 (0)