/* The dimension admin list pages under Views/Dimensions. */

.dimension-list-table {
    width: 100%;
}

/* A checkbox gets no border from .form-control, so it needs its own to sit
   level with the text inputs on the same row. */
.dimension-checkbox {
    border-color: var(--plm-border);
}

.usage-count {
    text-align: right;
}

/* The hidden row that onCustomNew in dimensions.js clones. The clone sets
   display explicitly, so it shows even while carrying this class. */
.dimension-row-template {
    display: none;
}

/* Grading and block-size tables are wider than the viewport and scroll inside
   their own wrapper rather than stretching the page. */
.dimension-wide-table {
    width: 100%;
    min-width: max-content;
}

/* A multiselect column holds long names, one per line, so it gets more room
   than the text columns and its open list may outgrow the column. */
.dimension-multiselect-column {
    min-width: 340px;
}

.dimension-multiselect-column .multiselect-dropdown {
    max-width: none;
}

.dimension-multiselect-column .multiselect-dropdown-list-wrapper {
    width: max-content;
    max-width: 720px;
}

.dimension-multiselect-column .multiselect-dropdown-list div,
.dimension-multiselect-column .multiselect-dropdown-list label {
    white-space: nowrap;
}
