@@ -200,7 +200,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
200200 def render ( assigns ) do
201201 ~H"""
202202 < div class = "lg:pr-96 " >
203- < div class = "container mx-auto max-w-7xl space-y-8 lg :space-y-16 p-4 sm:p-6 lg:p-8 " >
203+ < div class = "container mx-auto max-w-7xl space-y-8 xl :space-y-16 p-4 sm:p-6 lg:p-8 " >
204204 < . section :if = { @ payable_bounties != % { } } >
205205 < . card >
206206 < . card_header >
@@ -371,7 +371,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
371371 subtitle = "Top 1% Algora developers in your tech stack available to hire now "
372372 >
373373 < div class = "relative w-full flex flex-col gap-4 " >
374- < div class = "lg:pb-2 lg:pt-4 flex flex-col lg:flex-row gap-4 lg:gap-4 " >
374+ < div :if = { ! @ screenshot? } class = "lg:pb-2 lg:pt-4 flex flex-col lg:flex-row gap-4 lg:gap-4 " >
375375 < h3 class = "text-lg font-semibold whitespace-nowrap " > How it works</ h3 >
376376 < ul class = "xl:mx-auto flex flex-col md:flex-row gap-2 md:gap-4 2xl:gap-6 text-xs font-medium " >
377377 < li class = "flex items-center " >
@@ -1318,8 +1318,8 @@ defmodule AlgoraWeb.Org.DashboardLive do
13181318
13191319 defp match_card ( assigns ) do
13201320 ~H"""
1321- < div class = "relative flex flex-col xl :flex-row xl:items-center xl :justify-between gap-4 sm:gap-8 xl :gap-4 2xl :gap-6 border bg-card rounded-xl text-card-foreground shadow p-6 " >
1322- < div class = "xl :basis-[51 %] w-full truncate " >
1321+ < div class = "relative flex flex-col lg :flex-row xl:items-center lg :justify-between gap-4 sm:gap-8 lg :gap-4 xl :gap-6 border bg-card rounded-xl text-card-foreground shadow p-4 pt-8 " >
1322+ < div class = "lg :basis-[52 %] w-full truncate " >
13231323 < div class = "flex items-center justify-between gap-4 " >
13241324 < div class = "flex items-center gap-4 " >
13251325 < . link navigate = { User . url ( @ match . user ) } >
@@ -1404,7 +1404,7 @@ defmodule AlgoraWeb.Org.DashboardLive do
14041404 ) }
14051405 </ span >
14061406 </ div >
1407- < div class = "pt-4 flex flex-col sm:flex-row sm:flex-wrap 2xl :flex-nowrap gap-4 xl :gap-4 2xl :gap-8 " >
1407+ < div class = "pt-4 flex flex-col sm:flex-row sm:flex-wrap xl :flex-nowrap gap-4 lg :gap-4 xl :gap-8 " >
14081408 <%= for { project , total_earned } <- @ match . projects |> Enum . take ( 2 ) do %>
14091409 < . link
14101410 navigate = { User . url ( project ) }
@@ -1440,8 +1440,8 @@ defmodule AlgoraWeb.Org.DashboardLive do
14401440 </ div >
14411441 </ div >
14421442
1443- < div class = "pt-2 xl :pt-0 xl :pl-4 2xl :pl-6 xl :basis-[49 %] w-full xl :border-l xl :border-border " >
1444- < dl :if = { @ match [ :hourly_rate ] } class = "pt-4 " >
1443+ < div class = "pt-2 lg :pt-0 lg :pl-4 xl :pl-6 lg :basis-[48 %] w-full lg :border-l lg :border-border " >
1444+ < dl :if = { @ match [ :hourly_rate ] } class = "pt-4 lg:pt-0 " >
14451445 < div class = "flex flex-col-reverse 3xl:flex-row justify-between items-center gap-2 " >
14461446 < dt class = "text-foreground text-center " >
14471447 Total payment for < span class = "font-semibold " > { @ match . user . hours_per_week || 30 } </ span >
0 commit comments