Skip to content

Commit 6737d3c

Browse files
committed
Remove redundant block styling of code-input element since display: grid present
1 parent fdb2c26 commit 6737d3c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

code-input.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313

1414
code-input {
1515
/* Allow other elements to be inside */
16-
display: block;
16+
display: grid;
17+
grid-template-columns: 100%;
18+
grid-template-rows: 100%;
1719
overflow-y: auto;
1820
overflow-x: auto;
1921
position: relative;
@@ -46,9 +48,6 @@ code-input {
4648
tab-size: 2;
4749
white-space: pre;
4850
padding: 0!important; /* Use --padding to set the code-input element's padding */
49-
display: grid;
50-
grid-template-columns: 100%;
51-
grid-template-rows: 100%;
5251
}
5352

5453
code-input :not(.code-input_dialog-container *) {

0 commit comments

Comments
 (0)