Path: blob/main/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css
3296 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45.monaco-editor .glyph-margin {6position: absolute;7top: 0;8}910/*11Keeping name short for faster parsing.12cgmr = core glyph margin rendering (div)13*/14.monaco-editor .glyph-margin-widgets .cgmr {15position: absolute;16display: flex;17align-items: center;18justify-content: center;19}2021/*22Ensure spinning icons are pixel-perfectly centered and avoid wobble.23This is only applied to icons that spin to avoid unnecessary24GPU layers and blurry subpixel AA.25*/26.monaco-editor .glyph-margin-widgets .cgmr.codicon-modifier-spin::before {27position: absolute;28top: 50%;29left: 50%;30transform: translate(-50%, -50%);31}323334