Entirely remove unused "drawer" concept

merge-requests/692/head^2
Alex Gleason 2021-10-08 11:08:47 -05:00
rodzic 3a37635040
commit 683da333fd
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
4 zmienionych plików z 1 dodań i 52 usunięć

Wyświetl plik

@ -13,11 +13,7 @@ const Search = ({ intl }) => (
<div className='column search-page'>
<ColumnHeader icon='search' title={intl.formatMessage(messages.heading)} />
<SearchContainer autoSubmit />
<div className='drawer__pager'>
<div className='drawer__inner darker'>
<SearchResultsContainer />
</div>
</div>
<SearchResultsContainer />
</div>
);

Wyświetl plik

@ -891,28 +891,3 @@
border-top-right-radius: 0;
}
}
// TODO: Get rid of whatever a "drawer" is
// Probably rename to column-something
.drawer__pager {
box-sizing: border-box;
padding: 0;
flex-grow: 1;
position: relative;
overflow: hidden;
display: flex;
}
.drawer__inner {
top: 0;
left: 0;
background: var(--foreground-color);
box-sizing: border-box;
padding: 0;
display: flex;
flex-direction: column;
overflow: hidden;
overflow-y: auto;
width: 100%;
height: 100%;
}

Wyświetl plik

@ -14,16 +14,6 @@
border-radius: 8px 8px 0 0;
}
.drawer__inner {
border-radius: 0 0 8px 8px;
&.backdrop {
width: calc(100% - 60px);
box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
border-radius: 0 0 0 8px;
}
}
&__accounts {
background: var(--background-color);
overflow-y: auto;

Wyświetl plik

@ -166,10 +166,6 @@
}
.search-page {
.drawer__inner:not(:empty) {
min-height: 48px;
}
.search {
padding: 10px 15px;
border-bottom: 1px solid hsla(var(--primary-text-color_hsl), 0.2);
@ -184,14 +180,6 @@
.search__icon .svg-icon {
right: 24px;
}
.drawer__pager {
border-radius: 0 0 10px 10px;
@media screen and (max-width: 450px) {
border-radius: 0;
}
}
}
.search-results {