Skip to content

Commit 8a908ed

Browse files
committed
feat: remove read more from the quick access panel for better accessibility
1 parent 53a7533 commit 8a908ed

3 files changed

Lines changed: 4 additions & 22 deletions

File tree

src/nls/root/strings.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,6 @@ define({
12561256
"BOTTOM_PANEL_HIDE_TOGGLE": "Hide Bottom Panel",
12571257
"BOTTOM_PANEL_DEFAULT_TITLE": "Quick Access",
12581258
"BOTTOM_PANEL_DEFAULT_HEADING": "Open a Panel",
1259-
"BOTTOM_PANEL_DEFAULT_READ_MORE": "Read More",
12601259

12611260
"CMD_FIND_DOCUMENT_SYMBOLS": "Find Document Symbols",
12621261
"CMD_FIND_PROJECT_SYMBOLS": "Find Project Symbols",

src/styles/Extn-BottomPanelTabs.less

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,10 @@
245245
}
246246

247247
.default-panel-heading {
248-
font-size: 13px;
249-
font-weight: 600;
248+
font-size: 14px;
249+
letter-spacing: 0.6px;
250+
word-spacing: 1px;
251+
font-weight: 500;
250252
color: #555;
251253
margin-bottom: 4px;
252254

@@ -315,14 +317,3 @@
315317
}
316318
}
317319
}
318-
319-
.default-panel-read-more {
320-
font-size: 12px;
321-
color: @bc-text-link;
322-
text-decoration: none;
323-
margin-top: 4px;
324-
325-
&:hover {
326-
text-decoration: underline;
327-
}
328-
}

src/view/DefaultPanelView.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,8 @@ define(function (require, exports, module) {
3333
WorkspaceManager = require("view/WorkspaceManager"),
3434
PanelView = require("view/PanelView");
3535

36-
const DOCS_URL = "https://docs.phcode.dev";
37-
3836
/**
3937
* Descriptors for each launcher button.
40-
* `commandID` may be undefined if the command is registered later (e.g. Git).
4138
*/
4239
const _panelButtons = [
4340
{
@@ -101,11 +98,6 @@ define(function (require, exports, module) {
10198

10299
$content.append($buttonsRow);
103100

104-
let $readMore = $('<a class="default-panel-read-more" target="_blank"></a>')
105-
.attr("href", DOCS_URL)
106-
.text(Strings.BOTTOM_PANEL_DEFAULT_READ_MORE + " \u2192");
107-
$content.append($readMore);
108-
109101
$panel.append($content);
110102
return $panel;
111103
}

0 commit comments

Comments
 (0)