Default design for ul and ol into the custom tab

`ul` and `old` default design already been reset, reactivate default design only for `.custom-tab`
This commit is contained in:
Jean-Baptiste Bellet
2023-07-27 11:41:45 +02:00
parent 4485490b0b
commit a179c006fc
2 changed files with 15 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
.content
.row
.columns
.columns.custom-tab
= sanitize(@distributor.custom_tab&.content, scrubber: TrixScrubber.new)

View File

@@ -119,6 +119,20 @@
margin-top: 0.75rem;
margin-bottom: 2px;
}
.custom-tab {
ol, ul {
margin-left: 1.5em;
}
ol {
list-style-type: decimal;
}
ul {
list-style-type: disc;
}
}
}
&.with-darker-background {