Fit whitelisted option label column to content

This commit is contained in:
hensm
2022-08-08 19:27:47 +01:00
parent 60ffe7ff7e
commit 4ee5486b4b

View File

@@ -394,13 +394,17 @@ button.ghost:not(:hover) {
.whitelist__expanded { .whitelist__expanded {
border-top: 1px solid var(--border-color); border-top: 1px solid var(--border-color);
display: grid; display: grid;
grid-template-columns: 80px minmax(0, 1fr); grid-template-columns: max-content 1fr;
grid-column-gap: 10px; grid-column-gap: 10px;
grid-row-gap: 5px; grid-row-gap: 5px;
padding: 10px; padding: 10px;
width: 100%; width: 100%;
} }
.whitelist__expanded .option:not(.option--inline) .option__label {
max-width: 80px;
}
.translator__tag { .translator__tag {
color: #0a84ff; color: #0a84ff;
display: inline-block; display: inline-block;