Skip to content

Commit 56e3771

Browse files
committed
chore: weavy underlines in editor should not overlap with text bottom
1 parent ecbb517 commit 56e3771

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/styles/brackets.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,21 +160,25 @@ html, body {
160160
// selectors like .warning or .info. Even if error, warning, and info are used on the same div in any order,
161161
// the style for .error.error will take precedence due to its higher specificity.
162162
.editor-text-fragment-error.editor-text-fragment-error.editor-text-fragment-error.editor-text-fragment-error{
163+
padding-bottom: 1px;
163164
background: url('images/wavy-error.svg') repeat-x bottom left;
164165
}
165166

166167
.editor-text-fragment-warn.editor-text-fragment-warn.editor-text-fragment-warn {
168+
padding-bottom: 1px;
167169
background: url('images/wavy-warn.svg') repeat-x bottom left;
168170
.dark &{
169171
background: url('images/wavy-warn-dark.svg') repeat-x bottom left;
170172
}
171173
}
172174

173175
.editor-text-fragment-spell-error.editor-text-fragment-spell-error {
176+
padding-bottom: 1px;
174177
background: url('images/wavy-spell-error.svg') repeat-x bottom left;
175178
}
176179

177180
.editor-text-fragment-info {
181+
padding-bottom: 1px;
178182
background: url('images/wavy-info.svg') repeat-x bottom left;
179183
}
180184

0 commit comments

Comments
 (0)