Skip to content

Commit de720b2

Browse files
committed
fix: adjust headline sizes across the webui (#1504)
(cherry picked from commit 0db0a02)
1 parent 6abffcc commit de720b2

File tree

9 files changed

+18
-14
lines changed

9 files changed

+18
-14
lines changed

packages/web-app-activities/src/views/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<h1 v-text="$gettext('Activities')" />
2+
<h1 class="text-lg" v-text="$gettext('Activities')" />
33
<div class="w-full mb-4">
44
<item-filter
55
ref="mediaTypeFilter"

packages/web-app-app-store/src/views/AppList.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<template>
22
<div>
3-
<h2 class="mt-0 app-list-headline">
3+
<h1 class="mt-0 text-lg app-list-headline">
44
{{ $gettext('App Store') }}
55
<app-contextual-helper />
6-
</h2>
6+
</h1>
77
<div class="flex items-center mb-4">
88
<oc-text-input
99
id="apps-filter"

packages/web-runtime/src/components/Account/AppTokens.vue

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div v-if="authStore.userContextReady" id="preferences-panel-app-tokens">
33
<div class="flex items-center mb-4">
4-
<h1 class="mt-0" v-text="$gettext('App Tokens')" />
4+
<h1 class="m-0 text-lg" v-text="$gettext('App Tokens')" />
55
<oc-button
66
v-if="!authAppServiceDisabled"
77
size="small"
@@ -22,12 +22,15 @@
2222
)
2323
"
2424
/>
25-
<p
25+
<no-content-message
2626
v-else-if="!appTokens.length"
27-
class="ml-2"
27+
icon="key-2"
2828
data-testid="no-app-tokens-available"
29-
v-text="$gettext('No app tokens available.')"
30-
/>
29+
>
30+
<template #message>
31+
<span v-text="$gettext('No app tokens available.')" />
32+
</template>
33+
</no-content-message>
3134
<div v-else>
3235
<oc-table class="app-token-table" :data="visibleAppTokens" :fields="tableFields">
3336
<template #label="{ item }">
@@ -84,6 +87,7 @@ import { useGettext } from 'vue3-gettext'
8487
import AppTokenModal from '../Modals/AppTokenModal.vue'
8588
import { AppToken, AppTokenListSchema } from '../../helpers/appTokens'
8689
import { FieldType } from '@opencloud-eu/design-system/helpers'
90+
import { NoContentMessage } from '@opencloud-eu/web-pkg/src'
8791
8892
const { $gettext, current: currentLanguage } = useGettext()
8993
const { dispatchModal } = useModals()

packages/web-runtime/src/pages/account/accountCalendar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div id="account-calendar">
3-
<h1 class="mt-0" v-text="$gettext('Calendar')" />
3+
<h1 class="text-lg mt-1" v-text="$gettext('Calendar')" />
44
<span v-if="!isCalDavAvailable" class="flex flex-row items-center">
55
<oc-icon name="information" size="small" fill-type="line" class="mr-1" />
66

packages/web-runtime/src/pages/account/accountExtensions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div id="account-extensions">
3-
<h1 class="mt-0" v-text="$gettext('Extensions')" />
3+
<h1 class="text-lg mt-1" v-text="$gettext('Extensions')" />
44
<no-content-message
55
v-if="!extensionPointsWithUserPreferences.length"
66
id="account-extensions-empty"

packages/web-runtime/src/pages/account/accountGDPR.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div id="account-gdpr">
3-
<h1 class="mt-0" v-text="$gettext('GDPR')" />
3+
<h1 class="text-lg mt-1" v-text="$gettext('GDPR')" />
44
<account-table
55
:fields="[
66
$gettext('GDPR action name'),

packages/web-runtime/src/pages/account/accountInformation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div id="account-information">
33
<div class="flex justify-between items-center w-full">
4-
<h1 class="mt-0" v-text="$gettext('Account Information')" />
4+
<h1 class="mt-1 text-lg" v-text="$gettext('Account Information')" />
55
<oc-button
66
v-if="accountEditLink"
77
type="a"

packages/web-runtime/src/pages/account/accountPreferences.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div id="account-preferences">
3-
<h1 class="mt-0" v-text="$gettext('Preferences')" />
3+
<h1 class="text-lg mt-1" v-text="$gettext('Preferences')" />
44
<app-loading-spinner v-if="isLoading" />
55
<template v-else>
66
<account-table

packages/web-runtime/tests/unit/pages/account/__snapshots__/accountInformation.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ exports[`account information page > header section > edit url button > should be
8686
exports[`account information page > public link context > should render a limited view 1`] = `
8787
"<div id="account-information">
8888
<div class="flex justify-between items-center w-full">
89-
<h1 class="mt-0">Account Information</h1>
89+
<h1 class="mt-1 text-lg">Account Information</h1>
9090
<!--v-if-->
9191
</div>
9292
<div class="account-table account-page-info mt-6">

0 commit comments

Comments
 (0)