tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
28
pulls
pipelines
adjust width of ActionButon in desktop
cozylittle.house
1 month ago
3fd295c4
a351be4c
+4
-2
1 changed file
expand all
collapse all
unified
split
components
ActionBar
ActionButton.tsx
+4
-2
components/ActionBar/ActionButton.tsx
···
58
58
actionButton relative font-bold
59
59
rounded-md border
60
60
flex gap-2 items-center justify-start
61
61
-
w-max sm:w-[1000px] sm:max-w-full p-1
61
61
+
sm:w-full sm:max-w-full p-1
62
62
+
w-max
62
63
${smallOnMobile && "sm:text-base text-sm py-0! sm:py-1! sm:h-fit h-6"}
63
64
${
64
65
primary
···
74
75
>
75
76
<div className="shrink-0 flex flex-row gap-0.5">{icon}</div>
76
77
<div
77
77
-
className={`flex flex-col ${subtext && "leading-snug"} max-w-full min-w-0 mr-1 ${sidebar.open ? "block" : showLabelOnMobile ? "sm:hidden block" : "hidden"}`}
78
78
+
className={`flex flex-col ${subtext && "leading-snug"} sm:max-w-full min-w-0 mr-1 ${sidebar.open ? "block" : showLabelOnMobile ? "sm:hidden block" : "hidden"}`}
79
79
+
style={{ width: "-webkit-fill-available" }}
78
80
>
79
81
<div className="truncate text-left">{label}</div>
80
82
{subtext && (