File tree Expand file tree Collapse file tree 5 files changed +14
-10
lines changed Expand file tree Collapse file tree 5 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,10 @@ export default function ComposeButton(props: Props) {
27
27
onClick = { ( ) => openComposer ( { mention : userHandle } ) }
28
28
className = "z-40 p-3.5 rounded-full fixed md:hidden right-3 bottom-24 bg-primary text-white hover:bg-primary-dark outline-none ease-linear transition-all"
29
29
style = { {
30
- opacity : canUpdate ? `${ 100 - ( val ?? 0 ) } %` : "none" ,
31
- transform : canUpdate ? `translateY(${ val ?? 0 } %)` : "none" ,
30
+ opacity : canUpdate ? `${ 100 - ( val ?? 0 ) } %` : "100%" ,
31
+ transform : canUpdate
32
+ ? `translateY(${ val ?? 0 } %)`
33
+ : "translateY(0%)" ,
32
34
} }
33
35
>
34
36
< RiQuillPenFill className = "text-2xl" />
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ export default function Refetch(props: Props) {
20
20
onClick = { debouncedRefetch }
21
21
className = "z-40 p-3 rounded-full fixed bottom-24 md:bottom-8 ml-3 md:ml-[0.80rem] border border-neutral-300 bg-white hover:bg-neutral-50 hover:-rotate-180 ease-linear transition-all"
22
22
style = { {
23
- opacity : canUpdate ? `${ 100 - ( val ?? 0 ) } %` : "none " ,
24
- transform : canUpdate ? `translateY(${ val ?? 0 } %)` : "none " ,
23
+ opacity : canUpdate ? `${ 100 - ( val ?? 0 ) } %` : "100% " ,
24
+ transform : canUpdate ? `translateY(${ val ?? 0 } %)` : "translateY(0%) " ,
25
25
} }
26
26
>
27
27
< LuRefreshCcw className = "text-2xl text-neutral-500 hover:text-neutral-600" />
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ export default function AppBar() {
30
30
< nav
31
31
className = "flex justify-between pb-8 pt-1 px-6 border-t gap-6 fixed bottom-0 z-40 w-full md:hidden bg-white overflow-auto ease-linear transition-all"
32
32
style = { {
33
- opacity : canUpdate ? `${ 100 - ( val ?? 0 ) } %` : "none " ,
34
- transform : canUpdate ? `translateY(${ val ?? 0 } %)` : "none " ,
33
+ opacity : canUpdate ? `${ 100 - ( val ?? 0 ) } %` : "100% " ,
34
+ transform : canUpdate ? `translateY(${ val ?? 0 } %)` : "translateY(0%) " ,
35
35
} }
36
36
>
37
37
< NavItem
Original file line number Diff line number Diff line change @@ -35,8 +35,10 @@ export default function FeedTabs() {
35
35
< div
36
36
className = { `bg-white border-x-0 border-t-0 border-b md:border md:rounded-t-2xl overflow-x-hidden hover:overflow-x-auto md:opacity-100 sticky top-[3.2rem] md:top-6 z-50 md:z-50 ease-linear transition-all` }
37
37
style = { {
38
- opacity : canUpdate ? `${ 100 - ( val ?? 0 ) } %` : "none" ,
39
- transform : canUpdate ? `translateY(-${ val ?? 0 } %)` : "none" ,
38
+ opacity : canUpdate ? `${ 100 - ( val ?? 0 ) } %` : "100%" ,
39
+ transform : canUpdate
40
+ ? `translateY(-${ val ?? 0 } %)`
41
+ : "translateY(-0%)" ,
40
42
} }
41
43
>
42
44
{ isFetching && < FeedTabsSkeleton /> }
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ export default function TopBar(props: Props) {
21
21
< div
22
22
className = "flex justify-between bg-white border-b px-3 py-2.5 sticky md:hidden top-0 z-50 ease-linear transition-all"
23
23
style = { {
24
- opacity : canUpdate ? `${ 100 - ( val ?? 0 ) } %` : "none " ,
25
- transform : canUpdate ? `translateY(-${ val ?? 0 } %)` : "none " ,
24
+ opacity : canUpdate ? `${ 100 - ( val ?? 0 ) } %` : "100% " ,
25
+ transform : canUpdate ? `translateY(-${ val ?? 0 } %)` : "translateY(-0%) " ,
26
26
} }
27
27
>
28
28
< Link
You can’t perform that action at this time.
0 commit comments