From 73867756b1ff48154b5c30bb9dc7d0197411a9fc Mon Sep 17 00:00:00 2001 From: Luke Cotter <4013877+lukecotter@users.noreply.github.com> Date: Mon, 17 Apr 2023 15:44:19 +0100 Subject: [PATCH 1/3] fix: font sizes to be scalable The fonts did not always scale consistently and in some places were fied sizes. --- log-viewer/resources/css/Settings.css | 2 +- log-viewer/resources/css/Status.css | 2 +- log-viewer/resources/css/TimelineView.css | 2 +- log-viewer/resources/css/TreeView.css | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/log-viewer/resources/css/Settings.css b/log-viewer/resources/css/Settings.css index 91b4c58a..b1b87d84 100644 --- a/log-viewer/resources/css/Settings.css +++ b/log-viewer/resources/css/Settings.css @@ -6,7 +6,7 @@ display: inline-block; font-family: var(--vscode-editor-font-family); background-color: var(--vscode-textBlockQuote-background); - font-size: 8pt; + font-size: 0.8em; padding: 5px; margin-right: 5px; margin-bottom: 5px; diff --git a/log-viewer/resources/css/Status.css b/log-viewer/resources/css/Status.css index 0688c150..3a3ef4a5 100644 --- a/log-viewer/resources/css/Status.css +++ b/log-viewer/resources/css/Status.css @@ -7,7 +7,7 @@ } #status { align-items: center; - font-size: 10pt; + font-size: 1.1em; margin-bottom: 5px; margin-top: 5px; } diff --git a/log-viewer/resources/css/TimelineView.css b/log-viewer/resources/css/TimelineView.css index 6e962139..255536c9 100644 --- a/log-viewer/resources/css/TimelineView.css +++ b/log-viewer/resources/css/TimelineView.css @@ -26,7 +26,7 @@ } #timelineKey .keyEntry { display: inline-block; - font-size: 8pt; + font-size: 0.9em; padding: 4px; margin-right: 5px; } diff --git a/log-viewer/resources/css/TreeView.css b/log-viewer/resources/css/TreeView.css index 4fb762d6..7348fc78 100644 --- a/log-viewer/resources/css/TreeView.css +++ b/log-viewer/resources/css/TreeView.css @@ -41,7 +41,6 @@ border-radius: 10px; margin: 4px 2px 10px 2px; white-space: nowrap; - font-size: 10pt; } .node { margin-top: 2px; From f2ae6a92454fcae8b8f655ec22664ca802d616ec Mon Sep 17 00:00:00 2001 From: Luke Cotter <4013877+lukecotter@users.noreply.github.com> Date: Mon, 17 Apr 2023 15:50:15 +0100 Subject: [PATCH 2/3] docs: update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1947ed50..df27380c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Timeline not showing events if the event occurs outside the `EXECUTION_STARTED` + `EXECUTION_FINISHED` events ([#180][#180]) - Timeline incorrectly showing some `VF_APEX_CALL_START` events when dealing with ApexPage messages ([#212][#212]) +- Font sizes not correctly scaling in some places ([#238][#238]) ## [1.5.2] - 2022-11-08 @@ -208,3 +209,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#199]: https://github.com/financialforcedev/debug-log-analyzer/issues/199 [#219]: https://github.com/financialforcedev/debug-log-analyzer/issues/219 [#129]: https://github.com/financialforcedev/debug-log-analyzer/issues/129 +[#238]: https://github.com/financialforcedev/debug-log-analyzer/issues/238 From 6f9373fce70d9a1f893bc90fb00c1b637cff315a Mon Sep 17 00:00:00 2001 From: Luke Cotter <4013877+lukecotter@users.noreply.github.com> Date: Mon, 17 Apr 2023 17:17:23 +0100 Subject: [PATCH 3/3] fix: increase default size of log level status bar font --- log-viewer/resources/css/Settings.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log-viewer/resources/css/Settings.css b/log-viewer/resources/css/Settings.css index b1b87d84..f7480326 100644 --- a/log-viewer/resources/css/Settings.css +++ b/log-viewer/resources/css/Settings.css @@ -6,7 +6,7 @@ display: inline-block; font-family: var(--vscode-editor-font-family); background-color: var(--vscode-textBlockQuote-background); - font-size: 0.8em; + font-size: 0.9em; padding: 5px; margin-right: 5px; margin-bottom: 5px;