File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 5151 animation : fadeIn 0.2s ease-out;
5252}
5353
54- /* Quill Image Resize Module Styles */
5554.ql-editor img {
5655 cursor : pointer;
5756}
6160 outline-offset : 2px ;
6261}
6362
64- /* Image resize handles */
6563.ql-image-module {
6664 position : relative;
6765 display : inline-block;
@@ -111,7 +109,7 @@ body {
111109 cursor : se-resize;
112110}
113111
114- /* Image toolbar */
112+
115113.ql-image-module-toolbar {
116114 position : absolute;
117115 background : white;
@@ -135,29 +133,29 @@ body {
135133 background : # f5f5f5 ;
136134}
137135
138- /* Custom image alignment classes */
139- .ql-editor img [style *= ' float: left' ],
136+
137+ .ql-editor img [style *= " float: left" ],
140138.ql-editor .ql-align-left img {
141139 float : left;
142140 margin-right : 1rem ;
143141 margin-bottom : 0.5rem ;
144142}
145143
146- .ql-editor img [style *= ' float: right' ],
144+ .ql-editor img [style *= " float: right" ],
147145.ql-editor .ql-align-right img {
148146 float : right;
149147 margin-left : 1rem ;
150148 margin-bottom : 0.5rem ;
151149}
152150
153- .ql-editor img [style *= ' display: block' ],
151+ .ql-editor img [style *= " display: block" ],
154152.ql-editor .ql-align-center img {
155153 display : block;
156154 margin-left : auto;
157155 margin-right : auto;
158156}
159157
160- /* Custom toolbar buttons for image alignment */
158+
161159.ql-toolbar .ql-align-image-left ::before {
162160 content : '⇤' ;
163161 font-size : 18px ;
You can’t perform that action at this time.
0 commit comments