assets: fix logo alignment and error icon centering

Tighten the SVG viewBox to the actual content bounding box and
remove hardcoded width/height attributes so the browser no longer
adds horizontal padding via preserveAspectRatio. The "h" wordmark
now left-aligns with the page content below it.

Replace the error icon SVG path (which had an off-center X) with
a simple circle + two crossed lines drawn from a centered viewBox.
Both icons now use fill="currentColor" for dark mode adaptation.

Updates juanfont/headscale#3182
This commit is contained in:
Kristoffer Dalby 2026-04-13 14:46:42 +00:00
parent 3918020551
commit f066d12153
3 changed files with 4 additions and 4 deletions

View file

@ -221,7 +221,6 @@ input:focus-visible {
@media (max-width: 768px) {
.headscale-logo {
width: 200px;
margin-left: 0;
}
}