Skip to content

Commit 90a8a51

Browse files
committed
fix: font weight issue for snippet list
1 parent 11552b6 commit 90a8a51

File tree

1 file changed

+40
-27
lines changed

1 file changed

+40
-27
lines changed

src/styles/Extn-CustomSnippets.less

Lines changed: 40 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@
166166
}
167167

168168
#snippet-abbr-header,
169-
#snippet-abbr {
170-
width: 15%;
171-
min-width: 80px;
169+
#snippet-template-header,
170+
#snippet-description-header,
171+
#snippet-file-extension-header {
172172
display: inline-block;
173173
vertical-align: middle;
174174
box-sizing: border-box;
@@ -180,52 +180,65 @@
180180
text-overflow: ellipsis;
181181
}
182182

183-
#snippet-template-header,
184-
#snippet-template {
183+
#snippet-abbr-header {
184+
width: 15%;
185+
min-width: 80px;
186+
}
187+
188+
#snippet-template-header {
185189
width: 35%;
186190
min-width: 120px;
191+
padding: 0 12px;
192+
}
193+
194+
#snippet-description-header {
195+
width: 25%;
196+
min-width: 100px;
197+
padding: 0 12px;
198+
}
199+
200+
#snippet-file-extension-header {
201+
width: 15%;
202+
min-width: 60px;
203+
text-align: center;
204+
}
205+
206+
#snippet-abbr,
207+
#snippet-template,
208+
#snippet-description,
209+
#snippet-files {
187210
display: inline-block;
188211
vertical-align: middle;
189-
padding: 0 12px;
190212
box-sizing: border-box;
191213
font-size: 14px;
192-
font-weight: 500;
214+
font-weight: normal;
193215
line-height: 20px;
194216
white-space: nowrap;
195217
overflow: hidden;
196218
text-overflow: ellipsis;
197219
}
198220

199-
#snippet-description-header,
221+
#snippet-abbr {
222+
width: 15%;
223+
min-width: 80px;
224+
}
225+
226+
#snippet-template {
227+
width: 35%;
228+
min-width: 120px;
229+
padding: 0 12px;
230+
}
231+
200232
#snippet-description {
201233
width: 25%;
202234
min-width: 100px;
203-
display: inline-block;
204-
vertical-align: middle;
205235
padding: 0 12px;
206-
box-sizing: border-box;
207-
font-size: 14px;
208-
font-weight: 500;
209-
line-height: 20px;
210-
white-space: nowrap;
211-
overflow: hidden;
212-
text-overflow: ellipsis;
213236
}
214237

215-
#snippet-file-extension-header,
216238
#snippet-files {
217239
width: 15%;
218240
min-width: 60px;
219-
display: inline-block;
220-
vertical-align: middle;
221241
text-align: center;
222-
box-sizing: border-box;
223-
font-size: 14px;
224-
font-weight: 500;
225-
line-height: 20px;
226-
white-space: nowrap;
227-
overflow: hidden;
228-
text-overflow: ellipsis;
229242
}
230243

231244
#snippet-actions-header {

0 commit comments

Comments
 (0)