Skip to content

Commit f7f40a5

Browse files
authored
[ENG-9078] Preprints Discover: "Contact Us" has insufficient size and space #784
- Ticket: [ENG-9078] - Feature flag: n/a ## Summary of Changes 1. Fixed accessibility issue.
1 parent fa8736d commit f7f40a5

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

src/app/features/preprints/components/preprint-provider-hero/preprint-provider-hero.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h1 class="preprint-provider-name">{{ preprintProvider()!.name }}</h1>
4141
</div>
4242
} @else {
4343
<div [innerHTML]="preprintProvider()!.descriptionHtml | decodeHtml"></div>
44-
<a class="link font-bold" routerLink="/preprints">{{ 'preprints.poweredBy' | translate }}</a>
44+
<a class="font-bold" routerLink="/preprints">{{ 'preprints.poweredBy' | translate }}</a>
4545
}
4646
</div>
4747

src/app/features/preprints/pages/landing/preprints-landing.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2 class="text-2xl">{{ 'preprints.createServer.title' | translate }}</h2>
7878
</p>
7979
</div>
8080

81-
<p-button severity="success" class="link-button">
82-
<a [href]="'mailto:' + supportEmail">{{ 'preprints.createServer.contactUs' | translate | titlecase }}</a>
83-
</p-button>
81+
<a class="p-button p-button-success font-bold align-self-start lg:align-self-auto" [href]="'mailto:' + supportEmail">
82+
{{ 'preprints.createServer.contactUs' | translate | titlecase }}
83+
</a>
8484
</section>

src/app/shared/components/tags-input/tags-input.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
padding: 0;
2727
margin: 0;
2828
box-shadow: none;
29+
height: 24px;
2930

3031
&::placeholder {
3132
color: var(--p-inputtext-placeholder-color);

src/styles/components/preprints.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@
1111
}
1212

1313
.provider-description {
14-
line-height: mix.rem(24px);
14+
line-height: 1.5rem;
15+
16+
a {
17+
font-weight: bold;
18+
}
1519
}
1620

1721
.search-container {

0 commit comments

Comments
 (0)