Skip to content

Commit

Permalink
[CST-12109] logo alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaismailati committed Feb 23, 2024
1 parent e7579b7 commit 37dc8cc
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<ng-container *ngIf="(sources$ | async) as sources">
<ng-container *ngFor="let source of sources">
<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"
src="assets/images/qa-{{(source.id | dsSplit: ':')[0]}}-logo.png"
alt="{{source.id}} logo"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
max-height: var(--ds-header-logo-height);
}

.source-logo-container {
width: var(--ds-qa-logo-width);
display: flex;
justify-content: center;
}

.sections-gap {
gap: 1rem;
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
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"
src="assets/images/qa-{{ source.id }}-logo.png"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
max-height: var(--ds-header-logo-height);
}

.source-logo-container {
width: var(--ds-qa-logo-width);
display: flex;
justify-content: center;
}

.sections-gap {
gap: 1rem;
}
1 change: 1 addition & 0 deletions src/styles/_custom_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,5 @@

--ds-item-page-img-field-default-inline-height: 24px;

--ds-qa-logo-width: 100px;
}

0 comments on commit 37dc8cc

Please sign in to comment.