mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
[CST-12109] logo alignment
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<ng-container *ngIf="(sources$ | async) as sources">
|
<ng-container *ngIf="(sources$ | async) as sources">
|
||||||
<ng-container *ngFor="let source of sources">
|
<ng-container *ngFor="let source of sources">
|
||||||
<div class="alert alert-info d-flex flex-row" *ngIf="source.totalEvents > 0">
|
<div class="alert alert-info d-flex flex-row" *ngIf="source.totalEvents > 0">
|
||||||
<div class="col-2">
|
<div class="source-logo-container">
|
||||||
<img class="source-logo"
|
<img class="source-logo"
|
||||||
src="assets/images/qa-{{(source.id | dsSplit: ':')[0]}}-logo.png"
|
src="assets/images/qa-{{(source.id | dsSplit: ':')[0]}}-logo.png"
|
||||||
alt="{{source.id}} logo"
|
alt="{{source.id}} logo"
|
||||||
|
@@ -2,6 +2,12 @@
|
|||||||
max-height: var(--ds-header-logo-height);
|
max-height: var(--ds-header-logo-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.source-logo-container {
|
||||||
|
width: var(--ds-qa-logo-width);
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
.sections-gap {
|
.sections-gap {
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
class="alert alert-info d-flex flex-row"
|
class="alert alert-info d-flex flex-row"
|
||||||
*ngIf="source.totalEvents > 0"
|
*ngIf="source.totalEvents > 0"
|
||||||
>
|
>
|
||||||
<div class="col-2">
|
<div class="source-logo-container">
|
||||||
<img
|
<img
|
||||||
class="source-logo"
|
class="source-logo"
|
||||||
src="assets/images/qa-{{ source.id }}-logo.png"
|
src="assets/images/qa-{{ source.id }}-logo.png"
|
||||||
|
@@ -2,6 +2,12 @@
|
|||||||
max-height: var(--ds-header-logo-height);
|
max-height: var(--ds-header-logo-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.source-logo-container {
|
||||||
|
width: var(--ds-qa-logo-width);
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
.sections-gap {
|
.sections-gap {
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
|
@@ -108,4 +108,5 @@
|
|||||||
|
|
||||||
--ds-item-page-img-field-default-inline-height: 24px;
|
--ds-item-page-img-field-default-inline-height: 24px;
|
||||||
|
|
||||||
|
--ds-qa-logo-width: 100px;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user