mirror of
https://github.com/muerwre/muerwre.github.io.git
synced 2025-04-25 02:46:39 +07:00
fixed contact page mobile view
This commit is contained in:
parent
387fa7ce1b
commit
9899659dd3
3 changed files with 20 additions and 7 deletions
|
@ -27,6 +27,8 @@ onMounted(() => (mail.value = atob(contacts.email)));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" module>
|
<style lang="scss" module>
|
||||||
|
@import "@/assets/css/mixins";
|
||||||
|
|
||||||
.grid {
|
.grid {
|
||||||
width: auto;
|
width: auto;
|
||||||
display: grid;
|
display: grid;
|
||||||
|
@ -34,5 +36,9 @@ onMounted(() => (mail.value = atob(contacts.email)));
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
|
||||||
|
@include phone {
|
||||||
|
justify-content: stretch;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -28,6 +28,7 @@ const openWindow = () => window.open(props.href);
|
||||||
.row {
|
.row {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 10px 20px 10px 14px;
|
padding: 10px 20px 10px 14px;
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid {
|
.grid {
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="$style.image">
|
<div>
|
||||||
<img src="@/assets/svg/writing.svg" alt="" />
|
<img src="@/assets/svg/writing.svg" alt="" :class="$style.image" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
@ -42,6 +42,10 @@ definePageMeta({ layout: "landing" });
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
|
|
||||||
|
@include phone {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
@ -72,6 +76,10 @@ definePageMeta({ layout: "landing" });
|
||||||
|
|
||||||
.contacts {
|
.contacts {
|
||||||
margin-top: 60px;
|
margin-top: 60px;
|
||||||
|
|
||||||
|
@include phone {
|
||||||
|
margin-top: 40px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
@ -79,12 +87,10 @@ definePageMeta({ layout: "landing" });
|
||||||
}
|
}
|
||||||
|
|
||||||
.image {
|
.image {
|
||||||
@include phone {
|
max-width: 100%;
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
@include phone {
|
||||||
max-width: 100%;
|
max-height: 25vh;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue