JobSection updates
* Make Job preview full width * Use smaller layout on tablets and phones
This commit is contained in:
parent
001dbc55f1
commit
92b21dc0cf
1 changed files with 3 additions and 2 deletions
|
|
@ -1,9 +1,10 @@
|
||||||
#Job {
|
#Job {
|
||||||
|
align-items: center;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-bottom: $unit * 3;
|
margin-bottom: $unit * 3;
|
||||||
|
|
||||||
@include breakpoint(phone) {
|
@include breakpoint(tablet) {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: $unit;
|
gap: $unit;
|
||||||
}
|
}
|
||||||
|
|
@ -60,7 +61,7 @@
|
||||||
@include breakpoint(phone) {
|
@include breakpoint(phone) {
|
||||||
aspect-ratio: 16/9;
|
aspect-ratio: 16/9;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: inherit;
|
width: 100%;
|
||||||
height: inherit;
|
height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue