@@ -17,20 +17,6 @@ $color-background-code-view-dark: #282c34;
1717}
1818
1919.code {
20- :global (.awsui-dark-mode ) &,
21- :global (.awsui-polaris-dark-mode ) & {
22- background-color : $color-background-code-view-dark ;
23- }
24- & -with-line-numbers {
25- border-start-start-radius : 0 ;
26- border-end-start-radius : 0 ;
27- flex : 1 ;
28- }
29- & -with-actions {
30- min-block-size : cs .$space-scaled-xxl ;
31- padding-inline-end : calc (2 * cs .$space-static-xxxl );
32- align-items : center ;
33- }
3420 background-color : $color-background-code-view-light ;
3521 display : flex ;
3622 border-start-start-radius : cs .$border-radius-tiles ;
@@ -42,16 +28,23 @@ $color-background-code-view-dark: #282c34;
4228 margin-block : 0 ;
4329 margin-inline : 0 ;
4430 overflow : auto ;
45- }
46-
47- .line-numbers {
4831 :global (.awsui-dark-mode ) &,
4932 :global (.awsui-polaris-dark-mode ) & {
5033 background-color : $color-background-code-view-dark ;
5134 }
35+ & -with-line-numbers {
36+ border-start-start-radius : 0 ;
37+ border-end-start-radius : 0 ;
38+ flex : 1 ;
39+ }
5240 & -with-actions {
5341 min-block-size : cs .$space-scaled-xxl ;
42+ padding-inline-end : calc (2 * cs .$space-static-xxxl );
43+ align-items : center ;
5444 }
45+ }
46+
47+ .line-numbers {
5548 border-start-start-radius : cs .$border-radius-tiles ;
5649 border-end-start-radius : cs .$border-radius-tiles ;
5750 background-color : $color-background-code-view-light ;
@@ -64,6 +57,13 @@ $color-background-code-view-dark: #282c34;
6457 border-inline-end-style : solid ;
6558 border-inline-end-color : cs .$color-border-divider-default ;
6659 justify-content : center ;
60+ :global (.awsui-dark-mode ) &,
61+ :global (.awsui-polaris-dark-mode ) & {
62+ background-color : $color-background-code-view-dark ;
63+ }
64+ & -with-actions {
65+ min-block-size : cs .$space-scaled-xxl ;
66+ }
6767}
6868
6969.actions {
0 commit comments