aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-12-07 17:43:47 -0800
committerChristopher Ng <chrng8@gmail.com>2023-12-07 17:43:47 -0800
commitad8ae7bfd0b8de803bd5cae2d86979092578c710 (patch)
treedcdbdf2e25b2aa31ab5a4bfa0744181aee101369 /core/src
parent4cbc8b69b4a6ab44b041cb79135fa7aba4e34f06 (diff)
downloadnextcloud-server-ad8ae7bfd0b8de803bd5cae2d86979092578c710.tar.gz
nextcloud-server-ad8ae7bfd0b8de803bd5cae2d86979092578c710.zip
fix(a11y): Unified search headings
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/views/GlobalSearchModal.vue8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/src/views/GlobalSearchModal.vue b/core/src/views/GlobalSearchModal.vue
index 130fea23f38..6d9920afaf7 100644
--- a/core/src/views/GlobalSearchModal.vue
+++ b/core/src/views/GlobalSearchModal.vue
@@ -1,7 +1,6 @@
<template>
<NcModal id="global-search"
ref="globalSearchModal"
- :name="t('core', 'Unified search')"
:show.sync="internalIsVisible"
:clear-view-delay="0"
:title="t('Unified search')"
@@ -12,7 +11,9 @@
@update:is-open="showDateRangeModal = $event" />
<!-- Global search form -->
<div ref="globalSearch" class="global-search-modal">
- <h1>{{ t('core', 'Unified search') }}</h1>
+ <h2 class="global-search-modal__heading">
+ {{ t('core', 'Unified search') }}
+ </h2>
<NcInputField ref="searchInput"
:value.sync="searchQuery"
type="text"
@@ -538,10 +539,11 @@ export default {
padding: 10px 20px 10px 20px;
height: 60%;
- h1 {
+ &__heading {
font-size: 16px;
font-weight: bolder;
line-height: 2em;
+ margin-bottom: 0;
}
&__filters {