Skip to content

Commit ec7c585

Browse files
committed
fix style in mobile
1 parent d919acf commit ec7c585

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

src/components/RightPanel/index.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ export default {
4545
mounted() {
4646
this.insertToBody()
4747
},
48+
beforeDestroy() {
49+
const elx = this.$refs.rightPanel
50+
elx.remove()
51+
},
4852
methods: {
4953
addEventClick() {
5054
window.addEventListener('click', this.closeSidebar)

src/layout/Layout.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,7 @@ export default {
9191
.hideSidebar .fixed-header{
9292
width: calc(100% - 54px)
9393
}
94+
.mobile .fixed-header{
95+
width: 100%;
96+
}
9497
</style>

src/views/login/index.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ $cursor: #fff;
220220
color: #454545;
221221
}
222222
}
223-
224223
</style>
225224

226225
<style rel="stylesheet/scss" lang="scss" scoped>
@@ -299,5 +298,11 @@ $light_gray:#eee;
299298
right: 0;
300299
bottom: 6px;
301300
}
301+
302+
@media only screen and (max-width: 470px) {
303+
.thirdparty-button {
304+
display: none;
305+
}
306+
}
302307
}
303308
</style>

0 commit comments

Comments
 (0)