fix(ui): prevent example select from overflowing (#7060)
This commit is contained in:
@@ -109,6 +109,7 @@ export default class ExamplesSelect extends React.PureComponent {
|
|||||||
) : null
|
) : null
|
||||||
}
|
}
|
||||||
<select
|
<select
|
||||||
|
className="examples-select-element"
|
||||||
onChange={this._onDomSelect}
|
onChange={this._onDomSelect}
|
||||||
value={
|
value={
|
||||||
isModifiedValueAvailable && isValueModified
|
isModifiedValueAvailable && isValueModified
|
||||||
|
|||||||
@@ -127,7 +127,10 @@
|
|||||||
|
|
||||||
.examples-select {
|
.examples-select {
|
||||||
margin-bottom: .75em;
|
margin-bottom: .75em;
|
||||||
|
display: inline-block;
|
||||||
|
.examples-select-element {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
&__section-label {
|
&__section-label {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: .9rem;
|
font-size: .9rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user