File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/vs/editor/contrib/colorPicker/browser Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 4848 cursor : pointer;
4949 color : white;
5050 flex : 1 ;
51+ white-space : nowrap;
52+ overflow : hidden;
5153}
5254
5355.colorpicker-header .picked-color .picked-color-presentation {
5456 white-space : nowrap;
55- margin-left : 30 px ;
57+ margin-left : 5 px ;
5658 margin-right : 5px ;
5759}
5860
5961.colorpicker-header .picked-color .codicon {
6062 color : inherit;
6163 font-size : 14px ;
62- position : absolute;
63- left : 8px ;
6464}
6565
6666.colorpicker-header .picked-color .light {
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ export class ColorPickerHeader extends Disposable {
3838 dom . append ( container , this . _domNode ) ;
3939
4040 this . _pickedColorNode = dom . append ( this . _domNode , $ ( '.picked-color' ) ) ;
41- this . _pickedColorPresentation = dom . append ( this . _pickedColorNode , document . createElement ( 'div' ) ) ;
41+ dom . append ( this . _pickedColorNode , $ ( 'span.codicon.codicon-color-mode' ) ) ;
42+ this . _pickedColorPresentation = dom . append ( this . _pickedColorNode , document . createElement ( 'span' ) ) ;
4243 this . _pickedColorPresentation . classList . add ( 'picked-color-presentation' ) ;
43- dom . append ( this . _pickedColorNode , $ ( '.codicon.codicon-color-mode' ) ) ;
4444
4545 const tooltip = localize ( 'clickToToggleColorOptions' , "Click to toggle color options (rgb/hsl/hex)" ) ;
4646 this . _pickedColorNode . setAttribute ( 'title' , tooltip ) ;
You can’t perform that action at this time.
0 commit comments