Skip to content

Commit c28953e

Browse files
Replace deprecated --control-medium-lineBoxHeight with --base-size-20 (#4034)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lukasoppermann <813754+lukasoppermann@users.noreply.github.com>
1 parent af555e6 commit c28953e

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

app/components/primer/alpha/action_list.pcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ nav-list {
557557
.ActionListItem-visual,
558558
.ActionListItem-action {
559559
display: flex;
560-
min-height: var(--control-medium-lineBoxHeight);
560+
min-height: var(--base-size-20);
561561
color: var(--fgColor-muted);
562562
pointer-events: none;
563563
fill: var(--fgColor-muted);

app/components/primer/beta/state.pcss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
font-size: var(--text-body-size-medium);
1111
font-weight: var(--base-text-weight-medium);
1212
/* stylelint-disable-next-line primer/typography */
13-
line-height: var(--control-medium-lineBoxHeight);
13+
line-height: var(--base-size-20);
1414
text-align: center;
1515
white-space: nowrap;
1616
/* stylelint-disable-next-line primer/borders */
@@ -21,7 +21,6 @@
2121
.State,
2222
.State--draft {
2323
color: var(--fgColor-onEmphasis);
24-
/* stylelint-disable-next-line primer/colors */
2524
background-color: var(--bgColor-draft-emphasis, var(--bgColor-neutral-emphasis));
2625
border: var(--borderWidth-thin) solid transparent;
2726
box-shadow: var(--boxShadow-thin) var(--borderColor-draft-emphasis, var(--borderColor-neutral-emphasis));

0 commit comments

Comments
 (0)