Mobile Mini Event Card #97

Merged
l42luo merged 9 commits from feat/mobile-mini-event-card into main 2021-08-16 20:23:42 -04:00
2 changed files with 22 additions and 3 deletions

View File

@ -48,3 +48,24 @@
.dropDownIcon {
fill: var(--primary-accent);
}
@media only screen and (max-width: calc(768rem / 16)) {
.details {
bottom: 0;
left: 0;
top: unset;
right: unset;
}
.dropDownIcon {
display: none;
}
.card {
padding-bottom: calc(48rem / 16);
}
.nameSpacer {
display: none;
}
}

View File

@ -34,10 +34,8 @@ export const MiniEventCard: React.FC<Props> = ({
</div>
<p className={styles.shortDescription}>{short}</p>
</div>
<p className={styles.details}>View details {dropDownIcon}</p>
<div className={styles.details}>View details {dropDownIcon}</div>
</summary>
<div>{description}</div>
</details>
);