Skip to content

Commit 45a8ed9

Browse files
committed
Fix bootstrap compatibility + padding bug
1 parent eabf1ea commit 45a8ed9

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

code-input.css

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,8 @@ code-input textarea, code-input:not(.code-input_pre-element-styled) pre code, co
2929
margin: 0px!important;
3030
padding: var(--padding, 16px)!important;
3131
border: 0;
32-
width: calc(100% - (var(--padding, 16px)*2))!important;
33-
height: calc(100% - (var(--padding, 16px)*2))!important;
34-
}
35-
code-input:not(.code-input_pre-element-styled) pre, code-input.code-input_pre-element-styled pre code {
36-
margin: 0!important;
37-
border: 0!important;
38-
padding: 0!important;
39-
overflow: auto!important;
40-
width: 100%!important;
41-
height: 100%!important;
32+
width: 100%;
33+
height: 100%;
4234
}
4335
code-input textarea, code-input pre, code-input pre * {
4436
/* Also add text styles to highlighing tokens */

0 commit comments

Comments
 (0)