зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-08-28 15:36:17 +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 {
|
||||
display: inline-block;
|
||||
width: calc(80% - 2px);
|
||||
@@ -23,13 +30,6 @@ body.active_admin .quill-editor {
|
||||
min-height: 150px;
|
||||
padding: 10px;
|
||||
|
||||
// reset internal elements
|
||||
* {
|
||||
margin: initial;
|
||||
padding: initial;
|
||||
text-align: initial;
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user