File tree 1 file changed +19
-8
lines changed
packages/feedback/src/modal/components
1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ const DIALOG = `
60
60
gap: 16px;
61
61
padding: var(--dialog-padding, 24px);
62
62
max-width: 100%;
63
- width: var(--form-width, 272px) ;
63
+ width: 100% ;
64
64
max-height: 100%;
65
65
overflow: auto;
66
66
@@ -72,12 +72,6 @@ const DIALOG = `
72
72
transition: transform 0.2s ease-in-out;
73
73
}
74
74
75
- @media (max-width: 600px) {
76
- .dialog__content {
77
- width: var(--form-width, 100%);
78
- }
79
- }
80
-
81
75
` ;
82
76
83
77
const DIALOG_HEADER = `
@@ -90,7 +84,20 @@ const DIALOG_HEADER = `
90
84
}
91
85
.dialog__title {
92
86
align-self: center;
87
+ width: var(--form-width, 272px);
93
88
}
89
+
90
+ @media (max-width: 600px) {
91
+ .dialog__title {
92
+ width: auto;
93
+ }
94
+ }
95
+
96
+ .dialog__position:has(.editor) .dialog__title {
97
+ width: auto;
98
+ }
99
+
100
+
94
101
.brand-link {
95
102
display: inline-flex;
96
103
}
@@ -115,7 +122,11 @@ const FORM = `
115
122
flex-direction: column;
116
123
justify-content: space-between;
117
124
gap: 20px;
118
- width: 100%;
125
+ width: var(--form-width, 100%);
126
+ }
127
+
128
+ .dialog__position:has(.editor) .form__right {
129
+ width: var(--form-width, 272px);
119
130
}
120
131
121
132
.form__top {
You can’t perform that action at this time.
0 commit comments