From f08f7aabb6489ef02d4de9adb71c1b644a6a2574 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Sat, 12 Apr 2025 16:01:12 +0500 Subject: [PATCH] improve icon placements --- .../websiteFunctions/DockerSiteHome.html | 71 +++++++++++++++---- 1 file changed, 57 insertions(+), 14 deletions(-) diff --git a/websiteFunctions/templates/websiteFunctions/DockerSiteHome.html b/websiteFunctions/templates/websiteFunctions/DockerSiteHome.html index 4f4b44dba..c8a2e7e7f 100644 --- a/websiteFunctions/templates/websiteFunctions/DockerSiteHome.html +++ b/websiteFunctions/templates/websiteFunctions/DockerSiteHome.html @@ -805,6 +805,54 @@ display: flex; align-items: center; } + + /* Simple, direct icon spacing fix */ + i.fa { + margin-right: 10px; + } + + /* Remove all the complex icon positioning that might be causing conflicts */ + .fa { + position: static; + top: auto; + vertical-align: baseline; + display: inline-block; + } + + /* Simple button styling */ + .btn i.fa { + margin-right: 8px; + } + + /* Container status fix */ + .workflow-status { + display: inline-flex; + align-items: center; + margin-left: 10px; + } + + .workflow-status i.fa { + margin-right: 5px; + } + + /* Container header fix */ + .container-header h3 { + display: flex; + align-items: center; + } + + .container-header h3 > i.fa { + margin-right: 10px; + } + + /* Remove any complex flexbox or positioning that might interfere */ + .btn { + display: inline-block; + } + + .btn span { + display: inline-block; + }