diff --git a/css/components/islandora_mods.css b/css/components/islandora_mods.css index 98faa90..406f449 100755 --- a/css/components/islandora_mods.css +++ b/css/components/islandora_mods.css @@ -94,6 +94,27 @@ div#site-header__inner { min-width: 0; /* prevents long text from breaking the flex container */ } } +.node--type-islandora-object { + /* display: none; */ + + .field { + display: flex; + align-items: flex-start; /* keeps labels at the top of multi-line content */ + gap: 0.5em; + } + .field__label { + --label-width: 6em; + flex: 0 0 var(--label-width); + min-width: var(--label-width); + margin-right: 1em; /* gap before the content */ + box-sizing: border-box; + } + + .field__item { + flex: 1; + min-width: 0; /* prevents long text from breaking the flex container */ + } +} .views-field.views-field-field-abstract { line-height: 1.3;