Commit 50de823
committed
💄🔧:show enough of the ring to read as round
An SVG with a viewBox cannot stretch: the default preserveAspectRatio
letterboxes rather than distorts. So the oval was not the drawing, it
was how much of it reached the page. At 375px the circle's centre
landed at y=54, behind a navbar 74px tall, leaving only the cap below
its widest point. A cap is an oval.
Up by a fifth instead of a third puts the centre clear of the navbar at
every width, so the curve closes visibly.
The svg takes `height: auto` rather than `100%`, so it squares itself
off its own ratio instead of depending on the parent's height, and the
markup says preserveAspectRatio outright rather than leaning on the
default.
Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Assisted-by: Claude-Code:claude-opus-51 parent 0040f1d commit 50de823
2 files changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
112 | 117 | | |
113 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
114 | 122 | | |
115 | 123 | | |
116 | 124 | | |
117 | | - | |
| 125 | + | |
118 | 126 | | |
119 | 127 | | |
120 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
0 commit comments