mirror of https://github.com/hashicorp/consul
ui: Move %definition-table to use CSS grid (#8629)
parent
d818e892fa
commit
b41efab496
|
@ -1,16 +1,5 @@
|
||||||
%definition-table > dl {
|
%definition-table > dl {
|
||||||
position: relative;
|
display: grid;
|
||||||
}
|
grid-template-columns: 140px auto;
|
||||||
%definition-table > dl > dt {
|
grid-gap: 0.4em 20px;
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
%definition-table > dl > dt {
|
|
||||||
width: 140px;
|
|
||||||
}
|
|
||||||
%definition-table > dl > dd {
|
|
||||||
padding-left: 140px;
|
|
||||||
}
|
|
||||||
%definition-table > dl > * {
|
|
||||||
min-height: 1em;
|
|
||||||
margin-bottom: 0.4em;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue