public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] ui: properly center ceph icon
@ 2025-08-27 10:24 Shannon Sterz
  2025-08-28 21:45 ` Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Shannon Sterz @ 2025-08-27 10:24 UTC (permalink / raw)
  To: pve-devel

the container here is 24px tall, the icon itself is rendered with a
height of 14px, so it needs to be rendered 5px from the top to appear
vertically centered.

Reported-by: Christoph Heiss <c.heiss@proxmox.com>
Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
 www/css/ext6-pve.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css
index 192671af3..025c49f28 100644
--- a/www/css/ext6-pve.css
+++ b/www/css/ext6-pve.css
@@ -449,7 +449,7 @@ div.right-aligned {
     height: 14px;
     position: absolute;
     left: 1px;
-    top: 4px;
+    top: 5px;
     background-image: url(../images/logo-ceph.svg);
     background-size: 14px 14px;
     content: " ";
-- 
2.47.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [pve-devel] [PATCH manager] ui: properly center ceph icon
  2025-08-27 10:24 [pve-devel] [PATCH manager] ui: properly center ceph icon Shannon Sterz
@ 2025-08-28 21:45 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-08-28 21:45 UTC (permalink / raw)
  To: pve-devel, Shannon Sterz

On Wed, 27 Aug 2025 12:24:29 +0200, Shannon Sterz wrote:
> the container here is 24px tall, the icon itself is rendered with a
> height of 14px, so it needs to be rendered 5px from the top to appear
> vertically centered.
> 
> 

Applied, thanks!

[1/1] ui: properly center ceph icon
      commit: ce2f6a8fc57deed25b805f42af95c7b38ddeb49f


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-28 21:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-27 10:24 [pve-devel] [PATCH manager] ui: properly center ceph icon Shannon Sterz
2025-08-28 21:45 ` Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal