Skip to content

Commit

Permalink
Improve entry icon style
Browse files Browse the repository at this point in the history
Top margin pushed entry icons out of their parent links, resulting
in difficulties when clicking the icon on mobile devices.

This commit removes the margin and adds a padding for even better
clickability.
  • Loading branch information
jtojnar committed Nov 29, 2017
1 parent 5b5b217 commit aaeb591
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -582,16 +582,19 @@ body * {
vertical-align: sub;
}

.entry-icon,
.entry-icon {
float: left;
text-decoration: none;
margin-right: 0;
}

.entry-icon img {
margin-top:3px;
display:block;
float:left;
width:16px;
height:16px;
text-decoration:none;
display: block;
padding: 6px;
width: 16px;
height: 16px;
}

.entry-link {
display:none;
}
Expand Down

0 comments on commit aaeb591

Please sign in to comment.