Skip to content

Commit

Permalink
Merge pull request #35455 from nextcloud/fix/fix-35098-headings_need_…
Browse files Browse the repository at this point in the history
…to_be_h2

Change header semantic in the user status dialog
  • Loading branch information
ChristophWurst authored Nov 29, 2022
2 parents a1838d2 + af14bbb commit e450bc4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
7 changes: 3 additions & 4 deletions apps/user_status/src/components/SetStatusModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div class="set-status-modal">
<!-- Status selector -->
<div class="set-status-modal__header">
<h3>{{ $t('user_status', 'Online status') }}</h3>
<h2>{{ $t('user_status', 'Online status') }}</h2>
</div>
<div class="set-status-modal__online-status">
<OnlineStatusSelect v-for="status in statuses"
Expand All @@ -38,7 +38,7 @@

<!-- Status message -->
<div class="set-status-modal__header">
<h3>{{ $t('user_status', 'Status message') }}</h3>
<h2>{{ $t('user_status', 'Status message') }}</h2>
</div>
<div class="set-status-modal__custom-input">
<CustomMessageInput ref="customMessageInput"
Expand Down Expand Up @@ -234,12 +234,11 @@ export default {
&__header {
text-align: center;
font-weight: bold;
margin: 15px 0;
}

&__online-status {
display: grid;
// Space between the two sections
margin-bottom: 40px;
grid-template-columns: 1fr 1fr;
}

Expand Down
Loading

0 comments on commit e450bc4

Please sign in to comment.