mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-12-19 06:33:51 +01:00
36 lines
865 B
CSS
36 lines
865 B
CSS
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
/*
|
|
Workaround to avoid rendering empty search container
|
|
See https://github.com/facebook/docusaurus/pull/9385
|
|
*/
|
|
/*
|
|
TODO temporary @supports check, remove before 2025
|
|
only needed for Firefox < 121
|
|
see https://github.com/facebook/docusaurus/issues/9527#issuecomment-1805272379
|
|
*/
|
|
@supports selector(:has(*)) {
|
|
.navbarSearchContainer:not(:has(> *)) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 996px) {
|
|
.navbarSearchContainer {
|
|
position: absolute;
|
|
right: var(--ifm-navbar-padding-horizontal);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 997px) {
|
|
.navbarSearchContainer {
|
|
padding: var(--ifm-navbar-item-padding-vertical)
|
|
var(--ifm-navbar-item-padding-horizontal);
|
|
}
|
|
}
|