Skip to content

Commit adc92e1

Browse files
UX: Allow rounded corners (#1365)
1 parent 0ce17a1 commit adc92e1

File tree

1 file changed

+10
-21
lines changed

1 file changed

+10
-21
lines changed

assets/stylesheets/modules/ai-helper/common/ai-helper.scss

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use "lib/viewport";
2+
13
.composer-ai-helper-modal {
24
.text-preview,
35
.inline-diff {
@@ -179,7 +181,7 @@
179181

180182
@keyframes dot-falling {
181183
0% {
182-
box-shadow: 9999px -15px 0 0 rgba(152, 128, 255, 0);
184+
box-shadow: 9999px -15px 0 0 rgb(152, 128, 255, 0);
183185
}
184186

185187
25%,
@@ -189,13 +191,13 @@
189191
}
190192

191193
100% {
192-
box-shadow: 9999px 15px 0 0 rgba(152, 128, 255, 0);
194+
box-shadow: 9999px 15px 0 0 rgb(152, 128, 255, 0);
193195
}
194196
}
195197

196198
@keyframes dot-falling-before {
197199
0% {
198-
box-shadow: 9984px -15px 0 0 rgba(152, 128, 255, 0);
200+
box-shadow: 9984px -15px 0 0 rgb(152, 128, 255, 0);
199201
}
200202

201203
25%,
@@ -205,13 +207,13 @@
205207
}
206208

207209
100% {
208-
box-shadow: 9984px 15px 0 0 rgba(152, 128, 255, 0);
210+
box-shadow: 9984px 15px 0 0 rgb(152, 128, 255, 0);
209211
}
210212
}
211213

212214
@keyframes dot-falling-after {
213215
0% {
214-
box-shadow: 10014px -15px 0 0 rgba(152, 128, 255, 0);
216+
box-shadow: 10014px -15px 0 0 rgb(152, 128, 255, 0);
215217
}
216218

217219
25%,
@@ -221,7 +223,7 @@
221223
}
222224

223225
100% {
224-
box-shadow: 10014px 15px 0 0 rgba(152, 128, 255, 0);
226+
box-shadow: 10014px 15px 0 0 rgb(152, 128, 255, 0);
225227
}
226228
}
227229

@@ -232,19 +234,6 @@
232234
input:focus {
233235
z-index: 1;
234236
}
235-
236-
input {
237-
border-top-right-radius: 0;
238-
border-bottom-right-radius: 0;
239-
}
240-
}
241-
242-
.category-chooser,
243-
.mini-tag-chooser {
244-
.select-kit-header {
245-
border-top-right-radius: 0;
246-
border-bottom-right-radius: 0;
247-
}
248237
}
249238

250239
#edit-title {
@@ -639,7 +628,7 @@
639628
height: 7em;
640629
min-width: var(--ai-caption-popup-min-width);
641630

642-
@include breakpoint(tablet) {
631+
@include viewport.until(md) {
643632
width: 100%;
644633
max-width: unset;
645634
min-width: unset;
@@ -658,7 +647,7 @@
658647

659648
.desktop-view & {
660649
// a little extra space for extra narrow desktop view
661-
@media screen and (max-width: 675px) {
650+
@media screen and (width <= 675px) {
662651
span {
663652
display: none;
664653
}

0 commit comments

Comments
 (0)