ui: Move %definition-table to use CSS grid (#8629)

This commit is contained in:
John Cowen 2020-09-09 09:12:56 +01:00 committed by GitHub
parent fdd891c38e
commit e9d116322e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 14 deletions

View File

@ -1,16 +1,5 @@
%definition-table > dl {
position: relative;
}
%definition-table > dl > dt {
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;
display: grid;
grid-template-columns: 140px auto;
grid-gap: 0.4em 20px;
}