From cc8fec6d05c7b6f03f27dfce09a4be79271d55fb Mon Sep 17 00:00:00 2001 From: l5y <220195275+l5yth@users.noreply.github.com> Date: Fri, 17 Oct 2025 21:27:14 +0200 Subject: [PATCH] Align theme and info controls (#371) * Align theme and info controls * design tweaks --- web/public/assets/styles/base.css | 10 ++++++++++ web/views/index.erb | 21 +++++++++------------ 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/web/public/assets/styles/base.css b/web/public/assets/styles/base.css index 8d7646a..8b5e823 100644 --- a/web/public/assets/styles/base.css +++ b/web/public/assets/styles/base.css @@ -574,6 +574,16 @@ button { color: var(--fg); } +.icon-button { + width: 36px; + height: 36px; + padding: 0; + display: inline-flex; + align-items: center; + justify-content: center; + line-height: 1; +} + button:hover { background: #f6f6f6; } diff --git a/web/views/index.erb b/web/views/index.erb index 24f053a..6203782 100644 --- a/web/views/index.erb +++ b/web/views/index.erb @@ -66,12 +66,12 @@ crossorigin="" > - - - - - - + + + + + + <% body_classes = [] %> <% body_classes << "dark" if initial_theme == "dark" %> @@ -97,8 +97,8 @@ - - + + @@ -106,7 +106,6 @@
Quick facts about this PotatoMesh instance.