4,554
edits
No edit summary |
No edit summary |
||
Line 788: | Line 788: | ||
position: absolute; | position: absolute; | ||
top: 538px; | top: 538px; | ||
width: 100%; | width: 100%; | ||
} | } | ||
Line 797: | Line 797: | ||
cursor: pointer; | cursor: pointer; | ||
display: inline-block; | display: inline-block; | ||
width: 100%; | width: 100%; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
padding: 5px | padding: 5px 7px; | ||
margin-bottom: | margin-bottom: -1px; /* Negative margin, same as border thickness */ | ||
border-top: 1px solid black; | border-top: 1px solid black; | ||
border-bottom: 1px solid black; | border-bottom: 1px solid black; | ||
break-inside: avoid-column; /* | break-inside: avoid-column; | ||
z-index: 1; /* Ensures the card is above the bottom border of the card above */ | |||
background: white; /* Assuming cards have a white background */ | |||
} | } | ||
/* Removes top border from | /* Removes top border from the first card in each column */ | ||
#community-list .community-card:first-of-type { | #community-list .community-card:first-of-type { | ||
border-top: none; | border-top: none; | ||
} | } |