diff --git a/components/Alert/index.scss b/components/Alert/index.scss index dbcff33a..6a01e10e 100644 --- a/components/Alert/index.scss +++ b/components/Alert/index.scss @@ -11,6 +11,8 @@ } .Alert { + animation: $duration-modal-open cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal none + running openModalDesktop; background: var(--dialog-bg); border-radius: $unit; display: flex; diff --git a/components/DialogContent/index.scss b/components/DialogContent/index.scss index 78d89ee6..f3d65773 100644 --- a/components/DialogContent/index.scss +++ b/components/DialogContent/index.scss @@ -1,6 +1,4 @@ .Dialog { - // animation: 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal none running - // openModalDesktop; position: fixed; background: none; border: 0; @@ -16,9 +14,13 @@ .DialogContent { $multiplier: 4; + 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; + border: 0.5px solid rgba(0, 0, 0, 0.18); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); display: flex; flex-direction: column; gap: $unit * $multiplier; @@ -26,6 +28,7 @@ min-width: $unit * 48; // min-height: $unit-12x; overflow-y: scroll; + height: 80vh; max-height: 80vh; min-width: 580px; max-width: 42vw; diff --git a/components/JobSection/index.tsx b/components/JobSection/index.tsx index e7ec6893..5ff48ed5 100644 --- a/components/JobSection/index.tsx +++ b/components/JobSection/index.tsx @@ -136,7 +136,7 @@ const JobSection = (props: Props) => { ) : ( '' )} -
+