Fix navbar mods having broken border radius

This commit is contained in:
daudix
2024-10-11 19:32:15 +03:00
parent c2b0746b8c
commit 747f4bd992
4 changed files with 15 additions and 3 deletions

View File

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased](https://codeberg.org/daudix/duckquill/compare/v5.4.0...main) ## [Unreleased](https://codeberg.org/daudix/duckquill/compare/v5.4.0...main)
### Fixed
- Fix navbar mods having broken border radius.
## [5.4.0](https://codeberg.org/daudix/duckquill/compare/v5.3.2...v5.4.0) ## [5.4.0](https://codeberg.org/daudix/duckquill/compare/v5.3.2...v5.4.0)
### Added ### Added

View File

@ -1,11 +1,15 @@
#site-nav { #site-nav {
margin-block-start: 0; margin-block-start: 0;
inset-block-start: 0; inset-block-start: 0;
box-shadow: var(--shadow-glass);
border-radius: 0; border-radius: 0;
width: 100%; width: 100%;
max-width: 100%; max-width: 100%;
&::before {
box-shadow: var(--shadow-glass);
border-radius: 0;
}
nav, nav,
#search-container { #search-container {
margin: 0 auto; margin: 0 auto;

View File

@ -2,6 +2,6 @@
@include theme-variables using ($theme) { @include theme-variables using ($theme) {
@if $theme == "light" { @if $theme == "light" {
--edge-highlight: 0 0 0 transparent; --edge-highlight: 0 0 transparent;
} }
} }

View File

@ -1,8 +1,12 @@
#site-nav { #site-nav {
margin-block-start: 0; margin-block-start: 0;
inset-block-start: 0; inset-block-start: 0;
border-radius: 0 0 calc(var(--rounded-corner) + 0.5rem) calc(var(--rounded-corner) + 0.5rem);
&::before {
box-shadow: var(--shadow-glass); box-shadow: var(--shadow-glass);
border-radius: 0 0 calc(var(--rounded-corner) + 0.5rem) calc(var(--rounded-corner) + 0.5rem); border-radius: 0 0 calc(var(--rounded-corner) + 0.5rem) calc(var(--rounded-corner) + 0.5rem);
}
nav ul li { nav ul li {
a, a,