Files
nextcloud-server-mirror/core/css/fixes.scss
Peter Ringelmann 4aff32b20f fix(core): keep select dropdowns above popovers
nc-vue 8 CSS from the legacy settings bundle did this so far, without it NcSelect opens below NcPopover.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
2026-11-17 18:59:01 +01:00

26 lines
835 B
SCSS

/*!
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
/* ---- BROWSER-SPECIFIC FIXES ---- */
/* remove dotted outlines in Firefox */
::-moz-focus-inner {
border: 0;
}
/* ---- LIBRARY FIXES ---- */
/**
* TODO: Hotfix for https://github.com/nextcloud-libraries/nextcloud-vue/issues/8783
*
* NcSelect appends its dropdown to the body, but `--vs-dropdown-z-index` is only
* set on the select itself, so the dropdown falls back to the vue-select default
* of 1000 and ends up behind modals (z-index 9998 and above) and popovers (100000).
* Newer versions set 9999 on the dropdown itself, which is still below popovers, and load
* after this file, hence !important.
*/
.nc-select__dropdown.vs__dropdown-menu {
--vs-dropdown-z-index: 100001 !important;
}