Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix height of metadata accordion to accommodate new header #6300

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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