Fix spaces in grid between wp cards

pull/8460/head
Inga Mai 4 years ago
parent 4ed2404d17
commit 24d590d8f6
  1. 2
      frontend/src/app/components/wp-card-view/styles/wp-card-view-horizontal.sass
  2. 3
      frontend/src/app/components/wp-card-view/wp-single-card/wp-single-card.component.sass

@ -1,6 +1,6 @@
.wp-cards-container.-horizontal
display: grid
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr))
grid-column-gap: 10px
grid-row-gap: 10px
margin-right: 5px

@ -11,7 +11,6 @@
box-shadow: 1px 1px 3px 0px lightgrey
background: var(--body-background)
font-size: var(--card-font-size)
max-width: 400px
&:hover
box-shadow: 0px 0px 10px lightgrey
@ -92,8 +91,6 @@
@media only screen and (max-width: 679px)
.wp-card
max-width: none
&.-shrink
border: none
box-shadow: none

Loading…
Cancel
Save