File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 3
3
<div class =" flex flex-col justify-between h-full min-h-64" >
4
4
<FaucetAvailability :available =" true" class =" self-end" />
5
5
<!-- <div class="group-hover:-translate-y-0 translate-y-[calc(theme(spacing.12)_+_theme(spacing.7))] mt-28 ease-in-out duration-500"> -->
6
- <div class =" " >
6
+ <div class =" mt-12 " >
7
7
<span class =" mb-2 text-grey-100 text-50 uppercase" >{{ faucet.chain_id }}</span >
8
8
<h2 class =" text-500 text-grey-50" >{{ faucet.name }}</h2 >
9
- <h3 class =" text-grey-100 text-100 mt-3 h-12 group-hover:max-h-12 group-hover:opacity-100 max-h-0 opacity-0 ease-in-out duration-700 bottom-0 line-clamp-3" >{{ faucet.description }}</h3 >
9
+ <h3 class =" text-grey-100 text-100 mt-3 h-12 group-hover:max-h-12 md:max-h-0 ease-in-out duration-700 line-clamp-4 md:line-clamp-3 will-change-[max-height]" >
10
+ {{ faucet.description }}
11
+ </h3 >
10
12
</div >
11
13
</div >
12
14
</Card >
Original file line number Diff line number Diff line change 1
1
<template >
2
- <article ref =" DOMcard" v-bind =" $attrs" class =" card-container flex h-full flex-col cursor-pointer before:block before:absolute before:top-0 before:left-0 before:h-full before:w-full before:rounded before:blur-xl before:will-change-transform" >
2
+ <article ref =" DOMcard" v-bind =" $attrs" class =" card-container group flex h-full flex-col cursor-pointer before:block before:absolute before:pointer-events-none before:top-0 before:left-0 before:h-full before:w-full before:rounded before:blur-xl before:will-change-transform" >
3
3
<div
4
- class =" card-inner group relative h-full shadow-card will-change-transform after:block after:absolute after:rounded after:top-px after:left-px after:h-[calc(100%-2px)] after:w-[calc(100%-2px)] after:z-99 after:mix-blend-overlay after:brightness-90 after:contrast-75 after:transition-opacity after:duration-500 before:absolute before:w-[calc(100%+2px)] before:h-[calc(100%+2px)] before:-top-px before:-left-px before:rounded ease-in-out after:z-20"
4
+ class =" card-inner relative h-full shadow-card will-change-transform after:block after:absolute after:rounded after:pointer-events-none after:top-px after:left-px after:h-[calc(100%-2px)] after:w-[calc(100%-2px)] after:z-99 after:mix-blend-overlay after:brightness-90 after:contrast-75 after:transition-opacity after:duration-500 before:absolute before:w-[calc(100%+2px)] before:h-[calc(100%+2px)] before:-top-px before:-left-px before:rounded ease-in-out after:z-20"
5
5
>
6
6
<div class =" card relative flex flex-col bg-grey-500 rounded px-6 py-8 p-2 h-full" >
7
7
<slot ></slot >
You can’t perform that action at this time.
0 commit comments