1
0
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:
Kushagra Gour
2018-10-30 01:10:08 +05:30
parent 23a1df7dfd
commit f964001dd1
2 changed files with 7 additions and 1 deletions

View File

@ -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}

View File

@ -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%;