From b68a0995f68e067a75267838da0aa1d52fba9da2 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sat, 12 Jan 2019 20:02:42 +0000 Subject: [PATCH] fix: url_custom button height varies when using icons Fix #872 --- layouts/partials/css/academic.css | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/layouts/partials/css/academic.css b/layouts/partials/css/academic.css index e86c1ba1..d5c4ed67 100644 --- a/layouts/partials/css/academic.css +++ b/layouts/partials/css/academic.css @@ -785,12 +785,6 @@ article { box-sizing: border-box; } -/* Prevent FA's line height of 1 causing FA button links to be taller than other button links. */ -.btn-links .fab, -.btn-links .fas { - line-height: inherit !important; -} - .split-header-image { position: relative; /* Required for caption positioning */ clear: both; @@ -1462,8 +1456,13 @@ a.badge:hover { border-radius: .3rem; } +.btn-links .btn { + padding: 5px .5rem 5px .5rem; + line-height: 1; +} + .btn.btn-sm { - padding: .4rem; + padding: 5px .4rem 5px .4rem; font-size: .6rem; border-radius: .2rem; }