fix(insights): fix feed component drawer stretching on large screens
@@ -1,6 +1,11 @@
@use "@pythnetwork/component-library/theme";
.priceComponentDrawer {
+ .priceComponentDrawerBody {
+ grid-template-rows: max-content max-content;
+ grid-template-columns: 100%;
+ }
+
.badges {
@include theme.breakpoint("lg") {
display: none;
@@ -149,6 +149,7 @@ export const PriceComponentDrawer = ({
}
isOpen={isFeedDrawerOpen}
className={styles.priceComponentDrawer ?? ""}
+ bodyClassName={styles.priceComponentDrawerBody ?? ""}
>
{cluster === Cluster.PythtestConformance && (
<InfoBox