Skip to content

Commit

Permalink
Merge pull request kitodo#6300 from effective-webwork/fix-metadata-ac…
Browse files Browse the repository at this point in the history
…cordion-layout

Fix height of metadata accordion to accommodate new header
  • Loading branch information
solth authored Nov 14, 2024
2 parents c8bf30f + 13efa88 commit 2d5fc0d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Kitodo/src/main/webapp/WEB-INF/resources/css/kitodo.css
Original file line number Diff line number Diff line change
Expand Up @@ -2711,7 +2711,7 @@ Column content

#structureAccordion .scroll-wrapper {
box-sizing: border-box;
height: calc(100% - 53px);
height: calc(100% - var(--input-height) - 2 * var(--default-half-size));
overflow: hidden scroll;
width: 100%;
}
Expand Down Expand Up @@ -2966,7 +2966,6 @@ Column content

#metadataAccordion,
#metadataAccordion > .ui-accordion-content,
#metadataAccordion\:logicalMetadataWrapperPanel,
#metadataAccordion\:physicalMetadataWrapperPanel,
#metadataAccordion\:logicalMetadataWrapperPanel_content,
#metadataAccordion\:physicalMetadataWrapperPanel_content,
Expand All @@ -2977,6 +2976,10 @@ Column content
height: 100%;
}

#metadataAccordion\:logicalMetadataWrapperPanel {
height: calc(100% - var(--input-height) - 2 * var(--default-half-size));
}

#structureAccordion .ui-accordion-header,
#metadataAccordion .ui-accordion-header {
display: none;
Expand All @@ -3001,10 +3004,6 @@ Column content
overflow-y: scroll;
}

#metadataAccordion\:metadata\:metadataTable table[role='treegrid'] {
margin-bottom: 42px;
}

#metadataAccordion\:metadata\:metadataTable_data,
#metadataAccordion\:physicalMetadata\:metadataTable_data,
#metadataAccordion\:metadata\:metadataTable_data tr,
Expand Down

0 comments on commit 2d5fc0d

Please sign in to comment.