- client: fix log filters styles

This commit is contained in:
Ildar Kamalov 2020-08-01 17:13:48 +03:00
parent b9aa969a56
commit 9fecab8675
5 changed files with 24 additions and 10 deletions

View File

@ -9,7 +9,7 @@ const Filters = ({ filter, refreshLogs, setIsLoading }) => (
<Trans>query_log</Trans> <Trans>query_log</Trans>
<button <button
type="button" type="button"
className="btn btn-icon--green ml-3 bg-transparent" className="btn btn-icon--green logs__refresh"
onClick={refreshLogs} onClick={refreshLogs}
> >
<svg className="icons icon--24"> <svg className="icons icon--24">

View File

@ -539,3 +539,16 @@
.loading__text { .loading__text {
transform: translateY(3rem); transform: translateY(3rem);
} }
.logs__refresh {
position: relative;
top: 3px;
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
padding: 0;
margin-left: 15px;
background-color: transparent;
}

View File

@ -53,7 +53,7 @@ const Form = ({
{INPUTS_FIELDS.map(({ {INPUTS_FIELDS.map(({
name, title, description, placeholder, validate, max, name, title, description, placeholder, validate, max,
}) => <div className="col-12" key={name}> }) => <div className="col-12" key={name}>
<div className="col-7 p-0"> <div className="col-12 col-md-7 p-0">
<div className="form__group form__group--settings"> <div className="form__group form__group--settings">
<label htmlFor={name} <label htmlFor={name}
className="form__label form__label--with-desc">{t(title)}</label> className="form__label form__label--with-desc">{t(title)}</label>

View File

@ -6,18 +6,24 @@
.page-header--logs { .page-header--logs {
flex-direction: row; flex-direction: row;
align-items: flex-end; align-items: flex-end;
margin: 2rem 0 3rem; margin: 2rem 0 2.8rem;
}
.page-header--logs .page-title {
display: inline-flex;
align-items: center;
} }
@media (max-width: 991px) { @media (max-width: 991px) {
.page-header--logs { .page-header--logs {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
margin-bottom: 1.5rem; margin: 1.1rem 0;
} }
.page-header--logs .page-title { .page-header--logs .page-title {
padding-bottom: 2.5rem;; margin-bottom: 1.1rem;
font-size: 1.8rem;
} }
} }

View File

@ -337,11 +337,6 @@ export const RESPONSE_FILTER = {
query: 'processed', query: 'processed',
label: 'show_processed_responses', label: 'show_processed_responses',
}, },
SPACE: {
query: 'all',
label: '',
disabled: true,
},
BLOCKED: { BLOCKED: {
query: 'blocked', query: 'blocked',
label: 'show_blocked_responses', label: 'show_blocked_responses',