diff --git a/src/components/Card/index.tsx b/src/components/Card/index.tsx index 3961ee30..7d8809df 100644 --- a/src/components/Card/index.tsx +++ b/src/components/Card/index.tsx @@ -19,7 +19,7 @@ export const Card: FC = memo( ({ hash, title, subtitle, onPlay, onFaved, onUnFaved, isFaved }) => ( - @@ -29,6 +29,7 @@ export const Card: FC = memo( {subtitle || DEFAULT_SUBTITLE} )} {!playing && ( - )} - diff --git a/src/css/utils.ts b/src/css/utils.ts index 2e324ecc..860d024c 100644 --- a/src/css/utils.ts +++ b/src/css/utils.ts @@ -5,3 +5,13 @@ export const truncate = css` white-space: nowrap; text-overflow: ellipsis; `; + +export const hidden = css` + clip: rect(0 0 0 0); + clip-path: inset(50%); + height: 1px; + overflow: hidden; + position: absolute; + white-space: nowrap; + width: 1px; +`;