Files
fizzy/app/assets/stylesheets/native.css
T
Adrien Maston 8508f1341a Hide the content of the header instead the header itself
... it has the top inset that prevents being under the navigation bar
2026-01-07 16:30:26 +01:00

45 lines
937 B
CSS

@layer native {
[data-platform~=native] {
-webkit-tap-highlight-color: transparent;
.hide-on-native {
display: none;
}
/* Header
/* ------------------------------------------------------------------------ */
.header:is(
:not(:has(.header__title, .header__actions)),
:not(:has(.header__title, .header__actions--end)):has(.header__actions--start .btn--back:only-child)
) {
block-size: var(--custom-safe-inset-top);
padding: unset;
* {
display: none;
}
}
.header__actions {
.btn--back {
display: none;
}
}
/* Card perma
/* ------------------------------------------------------------------------ */
.card-perma {
margin-block-start: 0;
}
/* Search
/* ------------------------------------------------------------------------ */
.search__title {
text-decoration: none;
}
}
}