mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Fixed z-index of autocomplete dropdown
This commit is contained in:
parent
c87f809d12
commit
e16aa31ddf
2 changed files with 28 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
||||||
import { Controller } from "@hotwired/stimulus";
|
import { Controller } from "@hotwired/stimulus";
|
||||||
import { autocomplete } from '@algolia/autocomplete-js';
|
import { autocomplete } from '@algolia/autocomplete-js';
|
||||||
import "@algolia/autocomplete-theme-classic/dist/theme.css";
|
import "@algolia/autocomplete-theme-classic/dist/theme.css";
|
||||||
|
import "../../css/components/autocomplete_bootstrap.css";
|
||||||
import { createLocalStorageRecentSearchesPlugin } from '@algolia/autocomplete-plugin-recent-searches';
|
import { createLocalStorageRecentSearchesPlugin } from '@algolia/autocomplete-plugin-recent-searches';
|
||||||
import {marked} from "marked";
|
import {marked} from "marked";
|
||||||
|
|
||||||
|
|
27
assets/css/components/autocomplete_bootstrap.css
Normal file
27
assets/css/components/autocomplete_bootstrap.css
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
/*
|
||||||
|
* This file is part of Part-DB (https://github.com/Part-DB/Part-DB-symfony).
|
||||||
|
*
|
||||||
|
* Copyright (C) 2019 - 2024 Jan Böhmer (https://github.com/jbtronics)
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as published
|
||||||
|
* by the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/***
|
||||||
|
* Override some styles from the algolia autocomplete library to harmonize more with the bootstrap theme
|
||||||
|
*/
|
||||||
|
|
||||||
|
/** Ensure that the autocomplete dropdown is always on top */
|
||||||
|
.aa-Panel {
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue