Browse Source

object metadata

master
rdrew 2 weeks ago
parent
commit
e166b2fa97
  1. 21
      css/components/islandora_mods.css

21
css/components/islandora_mods.css

@ -94,6 +94,27 @@ div#site-header__inner {
min-width: 0; /* prevents long text from breaking the flex container */ 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 { .views-field.views-field-field-abstract {
line-height: 1.3; line-height: 1.3;

Loading…
Cancel
Save