FIX: Mobile nav styling (#14309)

This commit is contained in:
Penar Musaraj 2021-09-10 15:13:26 -04:00 committed by GitHub
parent 48b01f2246
commit 6c7f4e15b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 23 deletions

View File

@ -49,11 +49,7 @@ blockquote {
margin: 0;
padding: 0;
list-style: none;
overflow: visible;
position: relative;
border: 1px solid var(--primary-medium);
// Prevents the dropdowns from collapsing while content loads, so they look more like placeholders and less like dark 2px lines
min-height: 37px;
a {
color: var(--primary);
@ -63,22 +59,22 @@ blockquote {
}
}
> li > a {
> li > a.expander {
display: flex;
align-items: center;
padding: 8px 10px;
height: 100%;
box-sizing: border-box;
}
@include form-item-sizing;
border-color: var(--primary-medium);
max-width: 100%;
.selection {
@include ellipsis;
max-width: 120px;
}
.expander .selection {
@include ellipsis;
}
.expander > .d-icon {
&:last-of-type {
margin-left: auto;
margin-right: 0;
> .d-icon {
&:last-of-type {
margin-left: auto;
margin-right: 0;
}
}
}

View File

@ -64,10 +64,6 @@
padding: 0;
flex: 1 1 auto;
.select-kit-header {
.select-kit-header-wrapper {
padding: 8px 10px;
}
.caret-icon {
color: var(--primary-medium);
}
@ -83,8 +79,6 @@
margin-left: 8px;
.select-kit-header {
height: 100%;
.selected-name .name {
display: none;
}