Refactor QueryEditor component (#4464)

This commit is contained in:
Levko Kravets
2019-12-20 15:35:43 +02:00
committed by GitHub
parent 425e79fdd2
commit 49dcb7f689
16 changed files with 705 additions and 462 deletions

View File

@@ -0,0 +1,23 @@
.query-editor-controls {
display: flex;
flex-wrap: nowrap;
align-items: stretch;
justify-content: stretch;
// Styles for a wrapper that `Tooltip` adds for disabled `Button`s
span.query-editor-controls-button {
display: flex !important;
align-items: stretch;
justify-content: stretch;
}
.ant-btn {
height: auto;
.fa + span,
.zmdi + span {
// if button has icon and label - add some space between them
margin-left: 5px;
}
}
}