Mobile hotfix
This commit is contained in:
parent
82b1b49c5a
commit
39cfc90b44
1 changed files with 16 additions and 0 deletions
|
|
@ -1,13 +1,20 @@
|
|||
#Job {
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
margin-bottom: $unit * 3;
|
||||
|
||||
@media (max-width: $phone) {
|
||||
flex-direction: column;
|
||||
gap: $unit;
|
||||
}
|
||||
|
||||
select {
|
||||
flex-grow: 1;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.JobDetails {
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
|
|
@ -31,9 +38,11 @@
|
|||
$height: 252px;
|
||||
$width: 447px;
|
||||
|
||||
aspect-ratio: 7/9;
|
||||
background: url('/images/background_a.jpg');
|
||||
background-size: 500px 281px;
|
||||
border-radius: $unit;
|
||||
box-sizing: border-box;
|
||||
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
|
||||
display: block;
|
||||
flex-grow: 2;
|
||||
|
|
@ -47,6 +56,13 @@
|
|||
width: $width;
|
||||
transition: box-shadow 0.15s ease-in-out;
|
||||
|
||||
@media (max-width: $phone) {
|
||||
aspect-ratio: 16/9;
|
||||
margin: 0;
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
}
|
||||
|
||||
img {
|
||||
-webkit-filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.48));
|
||||
filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.48));
|
||||
|
|
|
|||
Loading…
Reference in a new issue