mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-11 17:16:26 +02:00
command palette ui changes
This commit is contained in:
@ -109,7 +109,7 @@ export class CommandPalette extends Component {
|
|||||||
onInput={this.inputHandler.bind(this)}
|
onInput={this.inputHandler.bind(this)}
|
||||||
onKeyUp={this.keyDownHandler.bind(this)}
|
onKeyUp={this.keyDownHandler.bind(this)}
|
||||||
/>
|
/>
|
||||||
<ul style="padding:0;list-style:none;">
|
<ul class="command-palette__option-list">
|
||||||
{this.state.list.map((item, index) => (
|
{this.state.list.map((item, index) => (
|
||||||
<Row
|
<Row
|
||||||
isSelected={this.state.selectedIndex === index}
|
isSelected={this.state.selectedIndex === index}
|
||||||
|
@ -1790,6 +1790,12 @@ while the theme CSS file is loading */
|
|||||||
.cm-s-midnight .CodeMirror-activeline-background {
|
.cm-s-midnight .CodeMirror-activeline-background {
|
||||||
background: #253540;
|
background: #253540;
|
||||||
}
|
}
|
||||||
|
.command-palette__option-list {
|
||||||
|
margin: 0;
|
||||||
|
margin-top: 10px;
|
||||||
|
padding: 0;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
.command-palette__option-row {
|
.command-palette__option-row {
|
||||||
padding: 4px 5px;
|
padding: 4px 5px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
Reference in New Issue
Block a user