Skip to content

🎥 Make videos programmatically with React

improve responsiveness

zaferc3b28a04247a
diff --git a/packages/docs/components/bounties.css b/packages/docs/components/bounties.css
index 7bedf58ebf..44df532389 100644
--- a/packages/docs/components/bounties.css
+++ b/packages/docs/components/bounties.css
@@ -37,15 +37,30 @@
}
.bounty-grid {
+ display: grid;
+ gap: 0.5rem;
+}
+
+.bounty-grid > *:not(:first-child) {
display: none;
}
@media (min-width: 640px) {
.bounty-grid {
- display: grid;
- gap: 0.5rem;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ }
+ .bounty-grid > *:nth-child(-n + 2) {
+ display: block;
+ }
+}
+
+@media (min-width: 768px) {
+ .bounty-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
+ .bounty-grid > *:nth-child(-n + 3) {
+ display: block;
+ }
}
@keyframes bounty-pulse {