1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-24 03:42:32 +01:00

Fixed some design issues around cards

Reverted drop shadow change.
Fixed header line-height when linked.
Fixed overflowing paragraph text. Fixes #533.
This commit is contained in:
Dan Brown 2017-10-01 17:59:51 +01:00
parent 2b3d6e4e4a
commit 247e6dba85
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -185,7 +185,7 @@
.card {
margin: $-m;
background-color: #FFF;
box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.1);
box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.2);
h3 {
padding: $-m;
border-bottom: 1px solid #E8E8E8;
@ -195,10 +195,13 @@
font-weight: 400;
text-transform: uppercase;
}
h3 a {
line-height: 1;
}
.body, p.empty-text {
padding: $-m;
}
a {
a, p {
word-wrap: break-word;
word-break: break-word;
}