Skip to content

Commit ff588b5

Browse files
Mattia VianelliAndrea Barbasso
authored andcommitted
Merged in task/dspace-cris-2025_02_x/DSC-2851 (pull request DSpace#4439)
[DSC-2851] implemented old bootstrap class, fixed old classes, fixed cris-layout columns Approved-by: Andrea Barbasso
2 parents 13f8566 + e2cd869 commit ff588b5

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/row/metadata-container/metadata-container.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@if (metadataFieldRenderOptions) {
22
<div class="{{containerStyle}}">
3-
<div class="d-flex" [class.flex-column]="field.labelAsHeading">
3+
<div class="d-flex row" [class.flex-column]="field.labelAsHeading">
44
@if (hasLabel) {
55
<span
66
class="{{labelStyle}}" [innerHTML]="getLabel()">

src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/row/row.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@for (cell of row.cells; track cell) {
2-
<div class="d-flex flex-column w-100 col metadata-cell" [class]="cell.style">
2+
<div class="d-flex flex-column col metadata-cell" [class]="cell.style">
33
@for (field of cell.fields; track trackUpdate($index, field)) {
44
<ds-metadata-container class="w-100"
55
[box]="box"

src/styles/_global-styles.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,3 +612,9 @@ ngb-tooltip-window {
612612
appearance: none !important;
613613
}
614614

615+
// DEPRECATED
616+
// This is a custom class with the same name as the Boostrap 3 one.
617+
// It will be removed with the first 2026 version.
618+
.font-weight-bold {
619+
font-weight: 600 !important;
620+
}

0 commit comments

Comments
 (0)