File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 22 <div class =" content" >
33 <div id =" tool-bar" >
44 <el-card shadow =" never" >
5- <el-avatar shape =" square" :size =" 400 " ><img src =" ./../../assets/icon/SOJ-thick-white-background.png" /></el-avatar >
5+ <el-avatar shape =" square" :size =" avatarWidth " ><img src =" ./../../assets/icon/SOJ-thick-white-background.png" /></el-avatar >
66 </el-card >
77 <el-card class =" item" >
88 <el-button v-if =" isMine || this.$store.state.user.isStaff || this.$store.state.user.isRoot" type =" primary" @click =" submit()" :loading =" buttonLoading" >Submit</el-button >
@@ -47,6 +47,7 @@ export default {
4747 isStaffMe: false ,
4848 isActiveMe: true ,
4949 buttonLoading: false ,
50+ avatarWidth: 800 < screen .width ? 400 : screen .width - 40
5051 };
5152 },
5253 methods: {
@@ -117,4 +118,18 @@ export default {
117118.item {
118119 margin-top : 20px ;
119120}
121+
122+ @media only screen and (max-width : 800px ) {
123+ .content {
124+ display : inline ;
125+ }
126+
127+ #tool-bar {
128+ margin-right : 0px ;
129+ }
130+
131+ .edit-content {
132+ margin-top : 20px ;
133+ }
134+ }
120135 </style >
You can’t perform that action at this time.
0 commit comments