From 393629cc2fbff958a0cfdf1f83959f3ed4accb93 Mon Sep 17 00:00:00 2001 From: sawka Date: Mon, 16 Oct 2023 10:59:20 -0700 Subject: [PATCH] fix TOS modal link, correct fixed-font for new tab. code blocks default to terminal font. --- src/app/app.less | 4 ++++ src/app/common/modals/modals.tsx | 2 +- src/app/workspace/screen/screenview.less | 1 + src/app/workspace/screen/screenview.tsx | 4 +--- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/app/app.less b/src/app/app.less index 58e8eb6c9..ad94b9a46 100644 --- a/src/app/app.less +++ b/src/app/app.less @@ -36,6 +36,10 @@ textarea { color: @base-color; } +body code { + font-family: @terminal-font; +} + svg.icon { fill: @base-color; width: 100%; diff --git a/src/app/common/modals/modals.tsx b/src/app/common/modals/modals.tsx index 8426babcd..56271ac1f 100644 --- a/src/app/common/modals/modals.tsx +++ b/src/app/common/modals/modals.tsx @@ -339,7 +339,7 @@ class TosModal extends React.Component<{}, {}> { features).

- + Full Terms of Service

diff --git a/src/app/workspace/screen/screenview.less b/src/app/workspace/screen/screenview.less index 08b7bcd65..c9b19a516 100644 --- a/src/app/workspace/screen/screenview.less +++ b/src/app/workspace/screen/screenview.less @@ -91,6 +91,7 @@ code { color: @prompt-green; background-color: transparent; + font-family: @fixed-font; } &.should-fade { diff --git a/src/app/workspace/screen/screenview.tsx b/src/app/workspace/screen/screenview.tsx index a027eddbb..706c1da00 100644 --- a/src/app/workspace/screen/screenview.tsx +++ b/src/app/workspace/screen/screenview.tsx @@ -240,9 +240,7 @@ class ScreenWindowView extends React.Component<{ screen: Screen }, {}> {
- - [workspace="{session.name.get()}" screen="{screen.name.get()}"] - + [workspace="{session.name.get()}" screen="{screen.name.get()}"]