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:
1 parent
8daf78dfc6
commit
a3258aa902
1 file changed
+1
-3
+1
-3
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user