File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,6 @@ describe("CodeView", () => {
2626 expect ( content . getElement ( ) ) . toHaveTextContent ( "# Hello World This is a markdown example." ) ;
2727 } ) ;
2828
29- test ( "correctly renders multi line content" , ( ) => {
30- render ( < CodeView content = { `# Hello World\n\nThis is a markdown example.` } > </ CodeView > ) ;
31- const wrapper = createWrapper ( ) ! . findCodeView ( ) ! ;
32- const content = wrapper . findContent ( ) ;
33- expect ( content . getElement ( ) ) . toHaveTextContent ( "# Hello World This is a markdown example." ) ;
34- } ) ;
35-
3629 test ( "correctly renders copy button slot" , ( ) => {
3730 render ( < CodeView content = { "Hello World" } actions = { < button > Copy</ button > } > </ CodeView > ) ;
3831 const wrapper = createWrapper ( ) ! . findCodeView ( ) ;
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ $color-background-code-view-dark: #282c34;
2626 border-start-end-radius : cs .$border-radius-tiles ;
2727 border-end-start-radius : cs .$border-radius-tiles ;
2828 border-end-end-radius : cs .$border-radius-tiles ;
29- padding-top : cs .$space-static-xs ;
30- padding-bottom : cs .$space-static-xs ;
29+ padding-block-start : cs .$space-static-xs ;
30+ padding-block-end : cs .$space-static-xs ;
3131 table-layout : auto ;
3232 width : 100% ;
3333 border-spacing : 0 ;
You can’t perform that action at this time.
0 commit comments