mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 08:16:43 -04:00
fix(a11y): Unified search headings
Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
parent
073b8683e6
commit
548e76a5f6
3 changed files with 8 additions and 6 deletions
|
|
@ -1,7 +1,6 @@
|
|||
<template>
|
||||
<NcModal id="global-search"
|
||||
ref="globalSearchModal"
|
||||
:name="t('core', 'Unified search')"
|
||||
:show.sync="internalIsVisible"
|
||||
:clear-view-delay="0"
|
||||
@close="closeModal">
|
||||
|
|
@ -11,7 +10,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"
|
||||
|
|
@ -537,10 +538,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 {
|
||||
|
|
|
|||
4
dist/core-global-search.js
vendored
4
dist/core-global-search.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-global-search.js.map
vendored
2
dist/core-global-search.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue