Fix EditApplication layout for Safari (#766)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov 2022-01-06 14:06:46 +03:00 committed by GitHub
parent df4df7a60c
commit 0ebe8c9ed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,18 +50,17 @@
</script>
{#if object !== undefined && candidate !== undefined}
<div class="grid-cards">
<CandidateCard {candidate} />
<ExpandRightDouble />
<VacancyCard {vacancy} />
<div class="flex-between">
<div class="card"><CandidateCard {candidate} /></div>
<div class="arrows"><ExpandRightDouble /></div>
<div class="card"><VacancyCard {vacancy} /></div>
</div>
{/if}
<style lang="scss">
.grid-cards {
display: grid;
grid-template-columns: 1fr 4rem 1fr;
column-gap: 1.5rem;
align-items: center;
.card {
align-self: stretch;
width: calc(50% - 3.5rem);
}
.arrows { width: 4rem; }
</style>