mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
use overlay styles for command pallete
This commit is contained in:
@@ -9,7 +9,7 @@ class CommandPaletteView extends SelectList
|
||||
@instance = new CommandPaletteView(rootView)
|
||||
|
||||
@viewClass: ->
|
||||
"#{super} command-palette"
|
||||
"#{super} command-palette overlay from-top"
|
||||
|
||||
filterKey: 'eventDescription'
|
||||
|
||||
|
||||
@@ -1,12 +1,3 @@
|
||||
.command-palette {
|
||||
width: 50%;
|
||||
margin-left: -25%;
|
||||
}
|
||||
|
||||
.command-palette ol {
|
||||
max-height: 300px;
|
||||
}
|
||||
|
||||
.command-palette ol .event-description {
|
||||
float: left;
|
||||
display: inline-block;
|
||||
@@ -14,10 +5,6 @@
|
||||
margin: 4px 0;
|
||||
}
|
||||
|
||||
.command-palette li .right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.command-palette ol .event-name, .command-palette ol .key-binding {
|
||||
display: inline-block;
|
||||
margin: 4px 0;
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.select-list li .right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.select-list ol li:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user