Files
redash/client/app/components/CodeBlock.less
Gabriel Dutra 4f402379e8 Migrate Embed Query Dialog to React (#3783)
* Update Antd

* Migrate Embed Query Dialog to React

* Update jest ScheduleDialog snapshot

* Add Alert for unsafe queries

* Add CodeBlock

* Add inputs to change iframe size

* Undo ant update

* Update share embed spec

* Update styling

* Change border-radius to 2px

* Update margin between Public URL and IFrame Embed
2019-05-15 08:38:40 +03:00

24 lines
430 B
Plaintext

@import '~antd/lib/button/style/index';
.code-block {
background: rgba(0, 0, 0, 0.06);
border: 1px solid rgba(0, 0, 0, 0.06);
border-radius: 2px;
padding: 3px 27px 3px 3px;
position: relative;
min-height: 32px;
code {
padding: 0;
font-size: 85%;
}
.@{btn-prefix-cls} {
position: absolute;
right: 3px;
bottom: 3px;
padding-left: 3px !important;
padding-right: 3px !important;
}
}