diff --git a/components/AccountModal/index.scss b/components/AccountModal/index.scss index fda20060..47a61c56 100644 --- a/components/AccountModal/index.scss +++ b/components/AccountModal/index.scss @@ -10,6 +10,10 @@ flex-direction: column; gap: $unit-2x; padding: 0 $unit-4x; + + @include breakpoint(phone) { + gap: $unit-4x; + } } .DialogDescription { diff --git a/components/DialogContent/index.scss b/components/DialogContent/index.scss index 42ea3f74..26421dbf 100644 --- a/components/DialogContent/index.scss +++ b/components/DialogContent/index.scss @@ -1,9 +1,11 @@ .Dialog { position: fixed; + box-sizing: border-box; background: none; border: 0; inset: 0; display: grid; + padding: 0; place-items: center; min-height: 100vh; min-width: 100vw; @@ -14,8 +16,8 @@ .DialogContent { $multiplier: 4; - animation: $duration-modal-open cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal - none running openModalDesktop; + // animation: $duration-modal-open cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal + // none running openModalDesktop; background: var(--dialog-bg); border-radius: $card-corner; box-sizing: border-box; @@ -40,14 +42,19 @@ } @include breakpoint(phone) { - animation: 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal forwards running - openModalMobile; + // animation: slideUp; + // animation-duration: 3s; + // animation-fill-mode: forwards; + // animation-play-state: running; + // animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; min-width: inherit; - min-height: 80vh; + min-height: 90vh; transform: initial; left: 0; right: 0; - top: 0; + top: 5vh; height: auto; width: 100%; } diff --git a/components/JobImage/index.scss b/components/JobImage/index.scss index b5b8cef3..fb877b47 100644 --- a/components/JobImage/index.scss +++ b/components/JobImage/index.scss @@ -18,8 +18,9 @@ max-width: $width; overflow: hidden; position: relative; - width: $width; transition: box-shadow 0.15s ease-in-out; + width: $width; + z-index: 1; // prettier-ignore @media only screen @@ -45,7 +46,7 @@ left: 50%; transform: translateX(-50%); width: 100%; - z-index: 2; + z-index: 4; } .JobAccessory.Button { @@ -74,6 +75,6 @@ .Overlay { background: none; position: absolute; - z-index: 1; + z-index: 2; } } diff --git a/components/LoginModal/index.scss b/components/LoginModal/index.scss index 137816e4..a84d8f17 100644 --- a/components/LoginModal/index.scss +++ b/components/LoginModal/index.scss @@ -1,6 +1,6 @@ .Login.DialogContent { gap: $unit; - min-width: $unit * 52; + // min-width: $unit * 52; .Fields { display: flex; diff --git a/components/SelectTableField/index.scss b/components/SelectTableField/index.scss index 85e2777f..2bfba89c 100644 --- a/components/SelectTableField/index.scss +++ b/components/SelectTableField/index.scss @@ -1,17 +1,47 @@ .TableField { align-items: center; display: grid; - gap: $unit * 2; + gap: $unit-2x; grid-template-columns: 1fr auto; - &.Image { - grid-template-columns: 1fr auto 1fr; + @include breakpoint(phone) { + align-items: flex-start; + display: flex; + flex-direction: column; } .Left { display: flex; - flex-direction: column; - gap: calc($unit / 2); + flex-direction: row; + gap: $unit; + width: 100%; + + .Info { + display: flex; + flex-direction: column; + flex-grow: 1; + justify-content: center; + gap: $unit-half; + } + + .Image { + display: none; + + .preview { + $diameter: $unit-5x; + width: $diameter; + height: $diameter; + + img { + width: $diameter; + height: $diameter; + } + } + + @include breakpoint(phone) { + display: block; + } + } label { color: var(--text-tertiary); @@ -30,6 +60,23 @@ } } + .Right { + display: flex; + flex-direction: row; + gap: $unit-2x; + width: 100%; + + @include breakpoint(phone) { + .Image { + display: none; + } + } + + .SelectTrigger { + width: 100%; + } + } + .preview { $diameter: $unit * 6; background-color: $grey-90; diff --git a/components/SelectTableField/index.tsx b/components/SelectTableField/index.tsx index e64ea238..20edfa96 100644 --- a/components/SelectTableField/index.tsx +++ b/components/SelectTableField/index.tsx @@ -44,13 +44,15 @@ const SelectTableField = (props: Props) => { return (
-

{props.label}

-

{props.description}

+
+

{props.label}

+

{props.description}

+
+
{image()}
- {image()} -
+
{image()}