From a3258aa90210976093db5e31b239666ab969dcc7 Mon Sep 17 00:00:00 2001 From: Arnaud Rebillout Date: Sun, 26 Jul 2020 23:47:56 +0700 Subject: [PATCH] Give social items a static width Otherwise it depends on the size of the sidebar, and it might get ugly if ever the sidebar width is changed (say, for someone who tweaks the theme and enlarge or shrink the sidebar). --- static/css/hyde.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/css/hyde.css b/static/css/hyde.css index 53066f9..e602648 100644 --- a/static/css/hyde.css +++ b/static/css/hyde.css @@ -108,15 +108,13 @@ html { } .sidebar-social-item { display: block; - padding: .25rem 0.5rem; + padding: .25rem 0.8rem; background: #fff2; margin: 0 .2rem; border-radius: .25rem; text-transform: uppercase; font-size: .8rem; font-weight: bold; - float: left; - width: 17%; } a.sidebar-social-item:hover, a.sidebar-social-item:focus {