Skip to content

Commit 50b131c

Browse files
fixes
1 parent 30e0275 commit 50b131c

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

frontend/src/index.css

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ body {
5151
animation: fadeIn 0.2s ease-out;
5252
}
5353

54-
/* Quill Image Resize Module Styles */
5554
.ql-editor img {
5655
cursor: pointer;
5756
}
@@ -61,7 +60,6 @@ body {
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;

0 commit comments

Comments
 (0)