Merge pull request #2931 from alphagov/rationalise-settings

Allow more space for values in settings tables
This commit is contained in:
Chris Hill-Scott
2019-04-29 16:58:24 +01:00
committed by GitHub
7 changed files with 171 additions and 109 deletions

View File

@@ -51,6 +51,48 @@
}
.settings-table {
table {
table-layout: fixed;
}
th {
&:first-child {
width: 35%; // 33.33% + fudge
}
&:last-child {
width: 17.5% // 16.67% + fudge
}
}
td.table-field-left-aligned {
&:first-child {
div {
white-space: normal;
}
}
div {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
ul li {
margin-bottom: 5px;
}
}
}
%table-field,
.table-field {