Skip to content

Commit c04343b

Browse files
authored
[ENG-9716] Fix/make icon of preprint and collections centered (#854)
- Ticket: [https://openscience.atlassian.net/browse/ENG-9716] - Feature flag: n/a ## Purpose Make the logo of the registries and institutions be in the center
1 parent a75342a commit c04343b

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

src/app/features/institutions/pages/institutions-search/institutions-search.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</div>
66
} @else {
77
<div class="flex flex-column gap-5 p-5">
8-
<div class="flex align-items-center gap-2">
8+
<div class="flex align-items-center gap-2 justify-content-center">
99
<img
1010
[ngSrc]="institution().assets.logo"
1111
[alt]="institution().name"

src/app/features/registries/components/registry-provider-hero/registry-provider-hero.component.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<section class="registries-hero-container py-5 px-3 flex flex-column gap-4 md:py-6 md:px-4">
22
<div class="flex flex-column align-items-start justify-content-between gap-4 md:flex-row">
3-
<div class="flex align-items-center gap-2">
3+
<div class="flex align-items-center justify-content-center gap-2 w-full">
44
@if (isProviderLoading()) {
55
<p-skeleton width="3rem" height="1.5rem" />
66
<p-skeleton width="12rem" height="1.5rem" />
@@ -9,7 +9,11 @@
99
}
1010
</div>
1111

12-
<p-button [label]="'registries.addRegistration' | translate" (onClick)="navigateToCreatePage()"></p-button>
12+
<p-button
13+
[label]="'registries.addRegistration' | translate"
14+
(onClick)="navigateToCreatePage()"
15+
styleClass="w-max"
16+
></p-button>
1317
</div>
1418

1519
<div class="provider-description">

0 commit comments

Comments
 (0)