UNPKG

@phosphor/widgets

Version:
69 lines (50 loc) 1.16 kB
/*----------------------------------------------------------------------------- | Copyright (c) 2014-2017, PhosphorJS Contributors | | Distributed under the terms of the BSD 3-Clause License. | | The full license is in the file LICENSE, distributed with this software. |----------------------------------------------------------------------------*/ .p-CommandPalette { display: flex; flex-direction: column; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .p-CommandPalette-search { flex: 0 0 auto; } .p-CommandPalette-content { flex: 1 1 auto; margin: 0; padding: 0; min-height: 0; overflow: auto; list-style-type: none; } .p-CommandPalette-header { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .p-CommandPalette-item { display: flex; flex-direction: row; } .p-CommandPalette-itemIcon { flex: 0 0 auto; } .p-CommandPalette-itemContent { flex: 1 1 auto; overflow: hidden; } .p-CommandPalette-itemShortcut { flex: 0 0 auto; } .p-CommandPalette-itemLabel { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }