Skip to content

Commit

Permalink
Merge pull request #1194 from prezly/feature/spacing-improvements
Browse files Browse the repository at this point in the history
[CARE-6380] Feature/spacing improvements
  • Loading branch information
digitalbase authored Oct 11, 2024
2 parents d2a14b2 + a47e509 commit 5b457a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions components/RichText/Quote.module.scss
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
$content-padding: $spacing-3 + $spacing-4;
$content-padding: $spacing-3;

@mixin quote-fix($direction) {
padding-#{$direction}: $content-padding;

&::before {
#{$direction}: $spacing-4;
#{$direction}: 0;
}
}

.container {
@include border-radius-m;

display: flex;
margin: $spacing-6 auto;
margin: $spacing-2 auto;
}

.content {
@include paragraph;

padding: $spacing-4;
padding: $spacing-4 0;
position: relative;

&::before {
Expand Down
5 changes: 3 additions & 2 deletions components/RichText/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,14 @@
.numberedList,
.htmlContent ul,
.htmlContent ol {
margin: 0 auto $spacing-4;
padding-left: $spacing-5;
margin: 0 auto $spacing-2;
padding-left: $spacing-3;
}

.numberedList,
.htmlContent ol {
list-style-type: decimal;
padding-inline-start: 20px;

ol {
list-style-type: lower-latin;
Expand Down

0 comments on commit 5b457a9

Please sign in to comment.