Skip to content

Commit d992568

Browse files
committed
Fix: Footer padding alignment to design
1 parent 163e5f6 commit d992568

File tree

1 file changed

+2
-2
lines changed
  • packages/components/src/styles/components/code-block

1 file changed

+2
-2
lines changed

packages/components/src/styles/components/code-block/index.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// DIMENSIONS
1616
$hds-code-block-line-numbers-width: 49px; // 3em ≈ 49px
1717
$hds-code-block-code-padding: 16px;
18-
$hds-code-block-code-bottom-gradient-height: 50px;
18+
$hds-code-block-code-bottom-gradient-height: 48px;
1919

2020
// CODE-BLOCK PARENT/WRAPPER
2121

@@ -139,7 +139,7 @@ $hds-code-block-code-bottom-gradient-height: 50px;
139139
display: flex;
140140
align-items: center;
141141
justify-content: center;
142-
padding: 0 $hds-code-block-code-padding 12px $hds-code-block-code-padding;
142+
padding: 0 $hds-code-block-code-padding 10px $hds-code-block-code-padding;
143143
pointer-events: none; // fix issue with scrolling when hovering over the footer
144144

145145
// re-enable pointer events for the button (or any content inside the footer)

0 commit comments

Comments
 (0)