зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-09-06 03:35:50 +03:00
Reduce the importance of the reset rules
This allows to let Quill features to override the reset styles. Closes #8
Этот коммит содержится в:
@@ -1,3 +1,10 @@
|
|||||||
|
// reset internal elements
|
||||||
|
.ql-editor * {
|
||||||
|
margin: initial;
|
||||||
|
padding: initial;
|
||||||
|
text-align: initial;
|
||||||
|
}
|
||||||
|
|
||||||
body.active_admin .quill-editor {
|
body.active_admin .quill-editor {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: calc(80% - 2px);
|
width: calc(80% - 2px);
|
||||||
@@ -23,13 +30,6 @@ body.active_admin .quill-editor {
|
|||||||
min-height: 150px;
|
min-height: 150px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
||||||
// reset internal elements
|
|
||||||
* {
|
|
||||||
margin: initial;
|
|
||||||
padding: initial;
|
|
||||||
text-align: initial;
|
|
||||||
}
|
|
||||||
|
|
||||||
ol {
|
ol {
|
||||||
list-style-type: decimal;
|
list-style-type: decimal;
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user