Adapt for Mobile Screen (#14)

This commit is contained in:
AceDataCloud committed 2024-01-02 13:43:30 +08:00
1 parent 82bb30cf94
commit 6de5435746
15 files changed
+355 -152

No files matched your search

+8 -2
View File
@@ -125,9 +125,15 @@ export default defineComponent({
@media (max-width: 767px) {
.introduction {
position: relative;
top: initial;
left: initial;
transform: initial;
width: 90%;
left: 5%;
transform: translateY(-50%);
margin: auto;
.introduction-items {
margin-bottom: 0;
}
}
}
</style>
+2 -2
View File
@@ -1,5 +1,5 @@
<template>
<div class="sidebar">
<div class="panel">
<el-skeleton v-if="loading && conversations === undefined" />
<div v-else class="conversations">
<div class="conversation" @click="onNewConversation">
@@ -130,7 +130,7 @@ export default defineComponent({
</script>
<style lang="scss" scoped>
.sidebar {
.panel {
display: flex;
flex-direction: column;
align-items: flex-end;