wing
wing copied to clipboard
Drop shadow, and other styles, appears to be missing from `card` component in css output
In dist/, the card class seems to be missing drop shadow.
Compare dist/ version:
.card {
display: flex;
flex-direction: column;
margin-bottom: 16px;
border: 1px solid #a7a7a7;
border-radius: 2px;
}
.card .card-content {
margin: 0;
padding: 16px;
}
.card .card-image {
display: block;
height: auto;
width: 100%;
}
With what's running on the docs site:
.card {
flex-direction: column;
overflow: hidden;
flex: 0 1 calc(50% - 0.5rem);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
margin-bottom: 2rem;
}
.card-header {
font-weight: 600;
margin: 0;
padding: 2rem 3rem 1rem;
}
.card-body {
padding: 0 3rem 2rem 3rem;
min-height: 100px;
}
.card-footer {
display: flex;
align-items: stretch;
border-top: 1px solid #dbdbdb;
flex: 1;
}
.card-footer .card-footer-item {
display: flex;
flex-basis: 0;
flex-grow: 1;
flex-shrink: 0;
align-items: center;
justify-content: center;
margin: 0;
padding: 1rem;
}
.card-footer-item:not(:first-child) {
border-left: 1px solid #dbdbdb;
}
There's other differences, the docs site uses a flex based col thing, which had some bugs when I tried it (try putting two col-12 next to eachother, they split the space, rather than wrapping as I expect). The dist/ uses percentage width based cols.