Files
redash/client/app/pages/query-snippets/QuerySnippetsList.less
Rafael Wendel 0560e2410e Improve css and add focus styles (#5420)
* Add styles for focused ant menus

* Add disabled styles to clickable button

* Improved dashboard header syntax and added focus

* Improved CSS syntax

* Add interactive styles

* Improved anchor dependent styles

* Improved styles of widget (gray more/delete btns)

* Add interactive style for favorite star

* Improved style of delete btn

* Make table content fill all space

* Added focus and active styles

* Scoped query snippets list

* Fixed behavior for all major browsers

* Replaced button styles with plain button

* Scoped items list styles

* Added focus styles to ant table

* Add plain button (#5419)

* Minor syntax improvements

* Refactor of Link component (#5418)
2021-03-17 14:26:08 -03:00

32 lines
485 B
Plaintext

.snippet-content {
max-width: 500px;
max-height: 56px;
overflow: hidden;
white-space: pre-wrap;
/* autoprefixer: off */
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
.query-snippets-table {
table {
height: 1px;
}
.ant-table-row {
height: 100%;
}
.ant-table-cell {
height: 100%;
& > .table-main-title {
display: inline-flex;
align-items: center;
height: 100%;
width: 100%;
}
}
}