Skip to content

Commit

Permalink
Fix ios font rendering issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Mar 20, 2024
1 parent 220a71c commit 8d99d75
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const { speed } = Astro.props;
---

<animated-terminal class="mt-0" data-speed={speed}>
<animated-terminal class="animated-terminal mt-0" data-speed={speed}>

<div class="mt-6 overflow-hidden" data-terminal-frame>
<pre class="font-mono bg-slate-50 dark:bg-slate-950">
Expand Down
9 changes: 7 additions & 2 deletions PwshSpectreConsole.Docs/src/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,30 @@

}

@media (max-width: 35em) {
@media (max-width: 45em) {
h1 {
font-size: x-large;
}

.astro-code, .astro-code span {
font-size: x-small;
font-size: xx-small;
line-height: 0.7rem;
}

div.asciinema-player-theme-spectre, div.asciinema-player-theme-spectre span {
font-size: x-small;
line-height: 0.7rem;
}

.animated-terminal div pre {
font-size: x-small;
}
}

div.asciinema-player-theme-spectre {
border: solid 1px var(--sl-color-gray-5);
border-radius: 0!important;
font-synthesis: none;

--term-color-foreground: #eceff4;
--term-color-background: #020617;
Expand Down
2 changes: 1 addition & 1 deletion PwshSpectreConsole/public/demo/Start-SpectreDemo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ Invoke-SpectreCommandWithProgress -ScriptBlock {
param (
$ctx
)
$task1 = $ctx.AddTask("Completing a four stage process")
$task1 = $ctx.AddTask("A 4-stage process")
Start-Sleep -Seconds 1
$task1.Increment(25)
Start-Sleep -Seconds 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function Invoke-SpectreCommandWithProgress {
param (
$Context
)
$task1 = $Context.AddTask("Completing a four stage process")
$task1 = $Context.AddTask("A 4-stage process")
Start-Sleep -Seconds 1
$task1.Increment(25)
Start-Sleep -Seconds 1
Expand Down

0 comments on commit 8d99d75

Please sign in to comment.