Skip to content

Commit ce0dc03

Browse files
authored
Merge pull request #42290 from nextcloud/enh/h3-to-h2
fix(dashboard): changed h3 elements to h2
2 parents b9cf8fd + 33637df commit ce0dc03

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

apps/dashboard/src/DashboardApp.vue

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666
<NcModal v-if="modal" size="large" @close="closeModal">
6767
<div class="modal__content">
68-
<h3>{{ t('dashboard', 'Edit widgets') }}</h3>
68+
<h2>{{ t('dashboard', 'Edit widgets') }}</h2>
6969
<ol class="panels">
7070
<li v-for="status in sortedAllStatuses" :key="status" :class="'panel-' + status">
7171
<input :id="'status-checkbox-' + status"
@@ -101,7 +101,7 @@
101101
<a v-if="isAdmin" :href="appStoreUrl" class="button">{{ t('dashboard', 'Get more widgets from the App Store') }}</a>
102102

103103
<div v-if="statuses.weather && isStatusActive('weather')">
104-
<h3>{{ t('dashboard', 'Weather service') }}</h3>
104+
<h2>{{ t('dashboard', 'Weather service') }}</h2>
105105
<p>
106106
{{ t('dashboard', 'For your privacy, the weather data is requested by your Nextcloud server on your behalf so the weather service receives no personal information.') }}
107107
</p>
@@ -668,12 +668,9 @@ export default {
668668
}
669669
}
670670
671-
h3 {
671+
h2 {
672672
font-weight: bold;
673-
674-
&:not(:first-of-type) {
675-
margin-top: 64px;
676-
}
673+
margin-top: 12px;
677674
}
678675
679676
// Adjust design of 'Get more widgets' button

dist/dashboard-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dashboard-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)