Skip to content

Commit

Permalink
style: drip list card: truncate title only on thumblink format
Browse files Browse the repository at this point in the history
  • Loading branch information
evvvritt committed Sep 29, 2023
1 parent 59a53c0 commit 9484471
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,11 @@
<div class="flex flex-col gap-8" class:pointer-events-none={format === 'thumblink'}>
<header class="px-6 pt-6 flex flex-col gap-4">
<div
class="flex gap-4 items-center {format === 'full'
? 'flex-col sm:flex-row sm:justify-between'
: ''}"
class="flex gap-4 {format === 'full'
? 'flex-col sm:flex-row justify-left sm:justify-between sm:items-center'
: 'items-center justify-between'}"
>
<h1 class="flex-1 min-w-0 truncate">
<h1 class="flex-1 min-w-0 text-left" class:truncate={format === 'thumblink'}>
<a
href={dripListUrl}
class="focus-visible:outline-none focus-visible:bg-primary-level-1 rounded"
Expand Down

0 comments on commit 9484471

Please sign in to comment.