Add h5 style for very small headings.

pull/9636/head
Benjamin Bädorf 3 years ago
parent d950329d9b
commit 31ffea7452
No known key found for this signature in database
GPG Key ID: 069CA2D117AB5CCF
  1. 8
      frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html
  2. 2
      frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.ts
  3. 7
      frontend/src/global_styles/content/_headings.sass

@ -3,8 +3,8 @@
[formGroup]="form" [formGroup]="form"
(ngSubmit)="saveChanges()" (ngSubmit)="saveChanges()"
> >
<h2>{{ text.saveImmediately.title }}</h2> <h5>{{ text.notifyImmediately.title }}</h5>
<p>{{ text.saveImmediately.description }}</p> <p>{{ text.notifyImmediately.description }}</p>
<op-checkbox-field [label]="text.mentioned.title"> <op-checkbox-field [label]="text.mentioned.title">
<input <input
@ -29,7 +29,7 @@
<p slot="description">{{ text.mentioned.title }}</p> <p slot="description">{{ text.mentioned.title }}</p>
</op-checkbox-field> </op-checkbox-field>
<h2>{{ text.alsoNotifyFor.title }}</h2> <h5>{{ text.alsoNotifyFor.title }}</h5>
<p>{{ text.alsoNotifyFor.description }}</p> <p>{{ text.alsoNotifyFor.description }}</p>
<op-checkbox-field> <op-checkbox-field>
@ -94,7 +94,7 @@
<hr /> <hr />
<h2>Project-specific notification settings</h2> <h5>Project-specific notification settings</h5>
<p>These project-specific settings override default settings above</p> <p>These project-specific settings override default settings above</p>
<op-notification-settings-table <op-notification-settings-table

@ -39,7 +39,7 @@ export class NotificationsSettingsPageComponent extends UntilDestroyedMixin impl
}); });
text = { text = {
saveImmediately: { notifyImmediately: {
title: this.I18n.t('js.notifications.settings.global.immediately.title'), title: this.I18n.t('js.notifications.settings.global.immediately.title'),
description: this.I18n.t('js.notifications.settings.global.immediately.description'), description: this.I18n.t('js.notifications.settings.global.immediately.description'),
}, },

@ -51,3 +51,10 @@ h4
border-bottom: 1px dotted #bbbbbb border-bottom: 1px dotted #bbbbbb
padding: 0 0 5px 0 padding: 0 0 5px 0
margin: 0 0 20px 0 margin: 0 0 20px 0
h5
color: var(--h5-font-color)
font-weight: bold
border-bottom: none
padding: 0
margin: 10px 0 0 0

Loading…
Cancel
Save