fix TOS modal link, correct fixed-font for new tab. code blocks default to terminal font.

This commit is contained in:
sawka 2023-10-16 10:59:20 -07:00
parent ce63a03528
commit 393629cc2f
4 changed files with 7 additions and 4 deletions

View File

@ -36,6 +36,10 @@ textarea {
color: @base-color; color: @base-color;
} }
body code {
font-family: @terminal-font;
}
svg.icon { svg.icon {
fill: @base-color; fill: @base-color;
width: 100%; width: 100%;

View File

@ -339,7 +339,7 @@ class TosModal extends React.Component<{}, {}> {
features). features).
</p> </p>
<p> <p>
<a target="_blank" href={util.makeExternLink("https://www.commandline.dev/tos.html")}> <a target="_blank" href={util.makeExternLink("https://www.commandline.dev/tos")}>
Full Terms of Service Full Terms of Service
</a> </a>
</p> </p>

View File

@ -91,6 +91,7 @@
code { code {
color: @prompt-green; color: @prompt-green;
background-color: transparent; background-color: transparent;
font-family: @fixed-font;
} }
&.should-fade { &.should-fade {

View File

@ -240,9 +240,7 @@ class ScreenWindowView extends React.Component<{ screen: Screen }, {}> {
<If condition={lines.length == 0}> <If condition={lines.length == 0}>
<div key="window-empty" className="window-empty"> <div key="window-empty" className="window-empty">
<div> <div>
<code> <code>[workspace="{session.name.get()}" screen="{screen.name.get()}"]</code>
[workspace="{session.name.get()}" screen="{screen.name.get()}"]
</code>
</div> </div>
</div> </div>
</If> </If>