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