Skip to content

Commit eb4129c

Browse files
authored
Merge pull request #1355 from dujiepeng/v2-beta
V2 beta
2 parents f88ef18 + 6c3db63 commit eb4129c

File tree

4 files changed

+11216
-20444
lines changed

4 files changed

+11216
-20444
lines changed

docs/.vuepress/components/Feedback.vue

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
:closable="true"
1414
:close-on-click-modal="false"
1515
:show-close="true"
16-
width="680px"
16+
class="feedback-dialog"
1717
>
1818
<div class="feedback-form">
1919
<ElCheckboxGroup v-model="feedbackTypes">
@@ -317,6 +317,9 @@ const closeForm = () => {
317317
318318
.feedback-form {
319319
padding: 20px;
320+
max-width: 680px;
321+
margin: 0 auto;
322+
box-sizing: border-box;
320323
}
321324
322325
.form-item {
@@ -411,4 +414,33 @@ const closeForm = () => {
411414
height: 32px;
412415
font-size: 12px;
413416
}
417+
418+
.feedback-dialog {
419+
max-width: 680px !important;
420+
width: 100% !important;
421+
}
422+
423+
@media (max-width: 720px) {
424+
.feedback-dialog {
425+
max-width: 98vw !important;
426+
width: 98vw !important;
427+
min-width: unset !important;
428+
margin-left: 8px !important;
429+
margin-right: 8px !important;
430+
}
431+
.feedback-form {
432+
max-width: 98vw;
433+
padding: 10px 0;
434+
}
435+
/* FEEDBACK_OPTIONS 竖排展示 */
436+
.feedback-form .el-row {
437+
flex-direction: column !important;
438+
}
439+
.feedback-form .el-col {
440+
max-width: 100%;
441+
flex: 0 0 100%;
442+
width: 100%;
443+
margin-bottom: 0px;
444+
}
445+
}
414446
</style>

0 commit comments

Comments
 (0)