Skip to content

Commit

Permalink
Tweak for specific mobile screens
Browse files Browse the repository at this point in the history
  • Loading branch information
ivank committed Jan 14, 2024
1 parent 7f1ddd3 commit 4d87771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rocketsized_web/live/rocketgrid_live/index.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
target="_blank"
class={[
"relative",
"before:content-[attr(data-height)'m'] before:right-[50%] before:absolute before:top-0 before:w-40 before:border-gray-400 before:text-right",
"before:content-[attr(data-height)'m'] before:right-[50%] before:w-[300px] before:absolute before:top-0 before:border-gray-400 before:text-right",
if(rocket.height <= @max_height - 10,
do: "before:-translate-y-[100%] before:border-b",
else: "before:border-t before:pr-6"
Expand Down

0 comments on commit 4d87771

Please sign in to comment.