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;
}
body code {
font-family: @terminal-font;
}
svg.icon {
fill: @base-color;
width: 100%;

View File

@ -339,7 +339,7 @@ class TosModal extends React.Component<{}, {}> {
features).
</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
</a>
</p>

View File

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

View File

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