Skip to content
This repository was archived by the owner on May 3, 2025. It is now read-only.

Commit 628fb20

Browse files
🐛 Prevent ContextualIconButtons from rendering at bottom of card or scrolling w/ page (#97)
1 parent 286c434 commit 628fb20

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/tracks/track-card/track-card.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ const TrackCard: React.FC<TrackCardProps> = (props: TrackCardProps) => {
123123
marginRight={majorScale(2)}
124124
minWidth={width}
125125
padding={majorScale(1)}
126+
position="relative"
126127
width={width}>
127128
<Pane
128129
display="flex"

src/components/tracks/track-section-card/track-section-card.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ const TrackSectionCard: React.FC<TrackSectionCardProps> = (
127127
paddingLeft={isFirst ? majorScale(1) : undefined}
128128
paddingRight={isLast ? majorScale(1) : undefined}
129129
paddingY={majorScale(1)}
130+
position="relative"
130131
ref={provided.innerRef}>
131132
<Pane
132133
display="flex"

0 commit comments

Comments
 (0)