0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Removed need for !important in button card css

refs https://github.com/TryGhost/Team/issues/1210

- `a.kg-btn` has higher specificity than the `.gh-content a` in Casper we were previously working around with `!important`
- dropping `!important` makes it easier for themes to override
This commit is contained in:
Kevin Ansfield 2021-11-09 12:30:18 +00:00
parent a789528a56
commit 7aa8d9df5c

View file

@ -9,17 +9,17 @@
justify-content: center;
}
.kg-btn {
a.kg-btn {
display: inline-flex;
align-items: center;
justify-content: space-between;
padding: 5px 10px;
font-size: 1.8rem;
border-radius: 5px;
text-decoration: none !important;
text-decoration: none;
}
.kg-btn-accent {
a.kg-btn-accent {
background-color: var(--ghost-accent-color);
color: #fff !important;
color: #fff;
}