Skip to content

Commit

Permalink
fix component height and margin above feedback (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
recrwplay authored Aug 2, 2024
1 parent e48a4d1 commit 030908b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions preview-src/ui-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ site:
url: '/4.1'
version: '4.1'
displayVersion: '4.1'
title: 'Component title wraps onto a second line'
- url: '/4.0'
version: '4.0'
displayVersion: '4.0'
Expand Down
12 changes: 7 additions & 5 deletions src/css/nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,16 @@ html.is-clipped--nav {
justify-content: space-between;
margin-bottom: 1rem;
padding: 0 1.5rem;
box-shadow: 0 1px 0 var(--nav-panel-divider-color);
/* box-shadow: 0 1px 0 var(--nav-panel-divider-color); */
}

.nav .component:has(+ .selectors) {
margin-bottom: 0;
margin-bottom: 0.25rem;
}

.nav .component .nav-product {
height: 2.5rem;
min-height: 2.5rem;
height: fit-content;
padding: 0.5rem 0;
}

Expand All @@ -101,7 +102,7 @@ html.is-clipped--nav {
}

.nav .selectors {
padding: 0.5rem 1rem 0;
padding: 0 1rem 0;
}

.nav-panel-menu {
Expand Down Expand Up @@ -150,10 +151,11 @@ html.is-clipped--nav {

.nav-menu {
flex-grow: 1;
min-height: 0;
/* min-height: 0; */
width: 100%;
line-height: var(--nav-line-height);
position: relative;
margin-bottom: calc(var(--feedback-height) + 1rem);
}

.nav-menu .component-title {
Expand Down

0 comments on commit 030908b

Please sign in to comment.