File tree Expand file tree Collapse file tree 1 file changed +19
-8
lines changed
packages/feedback/src/modal/components Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ const DIALOG = `
6060 gap: 16px;
6161 padding: var(--dialog-padding, 24px);
6262 max-width: 100%;
63- width: var(--form-width, 272px) ;
63+ width: 100% ;
6464 max-height: 100%;
6565 overflow: auto;
6666
@@ -72,12 +72,6 @@ const DIALOG = `
7272 transition: transform 0.2s ease-in-out;
7373}
7474
75- @media (max-width: 600px) {
76- .dialog__content {
77- width: var(--form-width, 100%);
78- }
79- }
80-
8175` ;
8276
8377const DIALOG_HEADER = `
@@ -90,7 +84,20 @@ const DIALOG_HEADER = `
9084}
9185.dialog__title {
9286 align-self: center;
87+ width: var(--form-width, 272px);
9388}
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+
94101.brand-link {
95102 display: inline-flex;
96103}
@@ -115,7 +122,11 @@ const FORM = `
115122 flex-direction: column;
116123 justify-content: space-between;
117124 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);
119130}
120131
121132.form__top {
You can’t perform that action at this time.
0 commit comments