@@ -25,12 +25,6 @@ describe('Code', () => {
25
25
:scope[data-codice-editor] textarea {
26
26
padding: calc(var(--codice-code-padding) * 0.75) calc(var(--codice-code-padding) * 0.5);
27
27
}
28
- :scope[data-codice-editor] [data-codice-code] {
29
- padding: calc(var(--codice-code-padding) / 2);
30
- }
31
- :scope[data-codice-editor][data-codice-line-numbers="false"] textarea {
32
- padding-left: var(--codice-code-padding);
33
- }
34
28
:scope[data-codice-editor] code,
35
29
:scope[data-codice-editor] textarea {
36
30
font-family: var(--codice-font-family);
@@ -71,7 +65,10 @@ describe('Code', () => {
71
65
overflow: hidden;
72
66
}
73
67
:scope[data-codice-editor][data-codice-line-numbers="true"] textarea {
74
- padding-left: calc(var(--codice-code-line-number-width) + calc(var(--codice-code-padding) / 2) + 2px);
68
+ padding-left: calc(var(--codice-code-line-number-width) + 2px);
69
+ }
70
+ :scope[data-codice-editor][data-codice-line-numbers="false"] textarea {
71
+ padding-left: var(--codice-code-padding);
75
72
}
76
73
77
74
:scope[data-codice-editor] {
@@ -198,7 +195,7 @@ describe('Code', () => {
198
195
color: var(--codice-code-line-number-color);
199
196
}
200
197
:scope[data-codice-line-numbers="false"] .sh__line {
201
- padding-left: calc( var(--codice-code-padding) * 0.5 );
198
+ padding-left: var(--codice-code-padding);
202
199
}
203
200
204
201
:scope[data-codice-code] {
@@ -233,12 +230,6 @@ describe('Code', () => {
233
230
:scope[data-codice-editor] textarea {
234
231
padding: calc(var(--codice-code-padding) * 0.75) calc(var(--codice-code-padding) * 0.5);
235
232
}
236
- :scope[data-codice-editor] [data-codice-code] {
237
- padding: calc(var(--codice-code-padding) / 2);
238
- }
239
- :scope[data-codice-editor][data-codice-line-numbers="false"] textarea {
240
- padding-left: var(--codice-code-padding);
241
- }
242
233
:scope[data-codice-editor] code,
243
234
:scope[data-codice-editor] textarea {
244
235
font-family: var(--codice-font-family);
@@ -279,7 +270,10 @@ describe('Code', () => {
279
270
overflow: hidden;
280
271
}
281
272
:scope[data-codice-editor][data-codice-line-numbers="true"] textarea {
282
- padding-left: calc(var(--codice-code-line-number-width) + calc(var(--codice-code-padding) / 2) + 2px);
273
+ padding-left: calc(var(--codice-code-line-number-width) + 2px);
274
+ }
275
+ :scope[data-codice-editor][data-codice-line-numbers="false"] textarea {
276
+ padding-left: var(--codice-code-padding);
283
277
}
284
278
285
279
:scope[data-codice-editor] {
@@ -406,7 +400,7 @@ describe('Code', () => {
406
400
color: var(--codice-code-line-number-color);
407
401
}
408
402
:scope[data-codice-line-numbers="false"] .sh__line {
409
- padding-left: calc( var(--codice-code-padding) * 0.5 );
403
+ padding-left: var(--codice-code-padding);
410
404
}
411
405
412
406
:scope[data-codice-code] {
@@ -441,12 +435,6 @@ describe('Code', () => {
441
435
:scope[data-codice-editor] textarea {
442
436
padding: calc(var(--codice-code-padding) * 0.75) calc(var(--codice-code-padding) * 0.5);
443
437
}
444
- :scope[data-codice-editor] [data-codice-code] {
445
- padding: calc(var(--codice-code-padding) / 2);
446
- }
447
- :scope[data-codice-editor][data-codice-line-numbers="false"] textarea {
448
- padding-left: var(--codice-code-padding);
449
- }
450
438
:scope[data-codice-editor] code,
451
439
:scope[data-codice-editor] textarea {
452
440
font-family: var(--codice-font-family);
@@ -487,7 +475,10 @@ describe('Code', () => {
487
475
overflow: hidden;
488
476
}
489
477
:scope[data-codice-editor][data-codice-line-numbers="true"] textarea {
490
- padding-left: calc(var(--codice-code-line-number-width) + calc(var(--codice-code-padding) / 2) + 2px);
478
+ padding-left: calc(var(--codice-code-line-number-width) + 2px);
479
+ }
480
+ :scope[data-codice-editor][data-codice-line-numbers="false"] textarea {
481
+ padding-left: var(--codice-code-padding);
491
482
}
492
483
493
484
:scope[data-codice-editor] {
@@ -577,7 +568,7 @@ describe('Code', () => {
577
568
color: var(--codice-code-line-number-color);
578
569
}
579
570
:scope[data-codice-line-numbers="false"] .sh__line {
580
- padding-left: calc( var(--codice-code-padding) * 0.5 );
571
+ padding-left: var(--codice-code-padding);
581
572
}
582
573
583
574
:scope[data-codice-code] {
0 commit comments