File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ export class SimpleSettingRenderer {
165165 private renderSetting ( setting : ISetting , newValue : string | undefined ) : string | undefined {
166166 const href = this . settingToUriString ( setting . key , newValue ) ;
167167 const title = nls . localize ( 'changeSettingTitle' , "Try feature" ) ;
168- return `<span><a href="${ href } " class="codesetting" title="${ title } " aria-role="button"><svg width="16 " height="16 " viewBox="0 0 16 16 " xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M9.1 4.4L8.6 2H7.4l-.5 2.4-.7.3-2-1.3-.9.8 1.3 2-.2.7-2.4.5v1.2l2.4.5.3.8-1.3 2 .8.8 2-1.3.8.3.4 2.3h1.2l.5-2.4.8-.3 2 1.3.8-.8-1.3-2 .3-.8 2.3-.4V7.4l-2.4-.5-.3-.8 1.3-2-.8-.8-2 1.3-.7-.2zM9.4 1l.5 2.4L12 2.1l2 2-1.4 2.1 2.4.4v2.8l-2.4.5L14 12l-2 2-2.1-1.4-.5 2.4H6.6l-.5-2.4L4 13.9l-2-2 1.4-2.1L1 9.4V6.6l2.4-.5L2.1 4l2-2 2.1 1.4.4-2.4h2.8zm.6 7c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zM8 9c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z"/></svg></a>` ;
168+ return `<span><a href="${ href } " class="codesetting" title="${ title } " aria-role="button"><svg width="14 " height="14 " viewBox="0 0 15 15 " xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M9.1 4.4L8.6 2H7.4l-.5 2.4-.7.3-2-1.3-.9.8 1.3 2-.2.7-2.4.5v1.2l2.4.5.3.8-1.3 2 .8.8 2-1.3.8.3.4 2.3h1.2l.5-2.4.8-.3 2 1.3.8-.8-1.3-2 .3-.8 2.3-.4V7.4l-2.4-.5-.3-.8 1.3-2-.8-.8-2 1.3-.7-.2zM9.4 1l.5 2.4L12 2.1l2 2-1.4 2.1 2.4.4v2.8l-2.4.5L14 12l-2 2-2.1-1.4-.5 2.4H6.6l-.5-2.4L4 13.9l-2-2 1.4-2.1L1 9.4V6.6l2.4-.5L2.1 4l2-2 2.1 1.4.4-2.4h2.8zm.6 7c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zM8 9c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z"/></svg></a>` ;
169169 }
170170
171171 private renderFeature ( setting : ISetting , newValue : string ) : string | undefined {
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ suite('Markdown Setting Renderer Test', () => {
7373 const htmlNoValue = '<span codesetting="example.booleanSetting">' ;
7474 const renderedHtmlNoValue = htmlRenderer ( htmlNoValue ) ;
7575 assert . strictEqual ( renderedHtmlNoValue ,
76- `<span><a href="code-setting://example.booleanSetting" class="codesetting" title="Try feature" aria-role="button"><svg width="16 " height="16 " viewBox="0 0 16 16 " xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M9.1 4.4L8.6 2H7.4l-.5 2.4-.7.3-2-1.3-.9.8 1.3 2-.2.7-2.4.5v1.2l2.4.5.3.8-1.3 2 .8.8 2-1.3.8.3.4 2.3h1.2l.5-2.4.8-.3 2 1.3.8-.8-1.3-2 .3-.8 2.3-.4V7.4l-2.4-.5-.3-.8 1.3-2-.8-.8-2 1.3-.7-.2zM9.4 1l.5 2.4L12 2.1l2 2-1.4 2.1 2.4.4v2.8l-2.4.5L14 12l-2 2-2.1-1.4-.5 2.4H6.6l-.5-2.4L4 13.9l-2-2 1.4-2.1L1 9.4V6.6l2.4-.5L2.1 4l2-2 2.1 1.4.4-2.4h2.8zm.6 7c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zM8 9c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z"/></svg></a>` ) ;
76+ `<span><a href="code-setting://example.booleanSetting" class="codesetting" title="Try feature" aria-role="button"><svg width="14 " height="14 " viewBox="0 0 15 15 " xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M9.1 4.4L8.6 2H7.4l-.5 2.4-.7.3-2-1.3-.9.8 1.3 2-.2.7-2.4.5v1.2l2.4.5.3.8-1.3 2 .8.8 2-1.3.8.3.4 2.3h1.2l.5-2.4.8-.3 2 1.3.8-.8-1.3-2 .3-.8 2.3-.4V7.4l-2.4-.5-.3-.8 1.3-2-.8-.8-2 1.3-.7-.2zM9.4 1l.5 2.4L12 2.1l2 2-1.4 2.1 2.4.4v2.8l-2.4.5L14 12l-2 2-2.1-1.4-.5 2.4H6.6l-.5-2.4L4 13.9l-2-2 1.4-2.1L1 9.4V6.6l2.4-.5L2.1 4l2-2 2.1 1.4.4-2.4h2.8zm.6 7c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zM8 9c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z"/></svg></a>` ) ;
7777 } ) ;
7878
7979 test ( 'actions with no value' , ( ) => {
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ export class ReleaseNotesManager {
262262 color: var(--vscode-button-foreground);
263263 background-color: var(--vscode-button-background);
264264 width: fit-content;
265- padding: 1px 1px 0px 1px ;
265+ padding: 0px 1px 1px 0px;
266266 font-size: 12px;
267267 overflow: hidden;
268268 text-overflow: ellipsis;
@@ -272,11 +272,11 @@ export class ReleaseNotesManager {
272272 text-align: center;
273273 cursor: pointer;
274274 border: 1px solid var(--vscode-button-border, transparent);
275- line-height: 12px ;
275+ line-height: 9px ;
276276 outline: 1px solid transparent;
277277 display: inline-block;
278278 margin-top: 3px;
279- margin-bottom: -6px !important;
279+ margin-bottom: -4px !important;
280280 }
281281 .codesetting:hover {
282282 background-color: var(--vscode-button-hoverBackground);
You can’t perform that action at this time.
0 commit comments