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).
This commit is contained in:
Arnaud Rebillout
2020-07-26 23:47:56 +07:00
parent 8daf78dfc6
commit a3258aa902
+1 -3
View File
@@ -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 {