UNPKG

monaco-editor

Version:
47 lines (39 loc) 1.27 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-dropdown { height: 100%; padding: 0; } .monaco-dropdown > .dropdown-label { cursor: pointer; height: 100%; display: flex; align-items: center; justify-content: center; } .monaco-dropdown > .dropdown-label > .action-label.disabled { cursor: default; } .monaco-dropdown-with-primary { display: flex !important; flex-direction: row; border-radius: 5px; } .monaco-dropdown-with-primary > .action-container > .action-label { margin-right: 0; } .monaco-dropdown-with-primary > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] { font-size: 12px; padding-left: 0px; padding-right: 0px; line-height: 16px; margin-left: -3px; } .monaco-dropdown-with-primary > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label { display: block; background-size: 16px; background-position: center center; background-repeat: no-repeat; }