4545
4646 /* Prevents the input form from jumping when the scrollbar is shown */
4747 /* 688px is the max width of the input form + left and right paddings: var(--sys-size-36) + 2 * var(--sys-size-5) */
48- /* stylelint-disable-next-line at-rule-no-unknown */
4948 @container (width > 688px) {
50- /* stylelint-disable-next-line unit-no-unknown */
5149 --half-scrollbar-width : calc ((100cqw - 100% ) / 2 );
5250
5351 margin-left : var (--half-scrollbar-width );
5755 /* when there isn't enough space to view the messages,
5856 do not overlay the input form on top of the messages */
5957 /* height < var(--sys-size-27) */
60- /* stylelint-disable-next-line at-rule-no-unknown */
6158 @container (height < 224px) {
6259 position : static;
6360 }
7774 box-shadow : 0 -3px 2px -2px var (--app-color-ai-assistance-input-divider );
7875 animation : reveal;
7976 opacity : 0% ;
80- /* stylelint-disable-next-line property-no-unknown */
8177 animation-timeline : --scroll-timeline ;
8278 }
8379 }
163159 ); /* Gap between the button and the edge + icon's width */
164160
165161 scrollbar-width : none;
166- field-sizing : content; /* stylelint-disable-line property-no-unknown */
162+ field-sizing : content;
167163 resize : none;
168164 width : 100% ;
169165 max-height : 84px ; /* 4 rows */
251247
252248 /* Prevents the container from jumping when the scrollbar is shown */
253249 /* 688px is the max width of the input form + left and right paddings: var(--sys-size-36) + 2 * var(--sys-size-5) */
254- /* stylelint-disable-next-line at-rule-no-unknown */
255250 @container (width > 688px) {
256- /* stylelint-disable-next-line unit-no-unknown */
257251 --half-scrollbar-width : calc ((100cqw - 100% ) / 2 );
258252
259253 margin-left : var (--half-scrollbar-width );
@@ -603,16 +597,14 @@ main {
603597 flex-direction : column;
604598 align-items : center;
605599 height : 100% ;
606- container-type : size; /* stylelint-disable-line property-no-unknown */
600+ container-type : size;
607601 scrollbar-width : thin;
608602 /*
609603 Even though `transform: translateZ(1px)` doesn't have a visual effect,
610604 it puts `main` element into another rendering layer which somehow
611605 fixes the `.input-form` jumping on scroll issue.
612606 */
613607 transform : translateZ (1px );
614-
615- /* stylelint-disable-next-line property-no-unknown */
616608 scroll-timeline : --scroll-timeline y;
617609}
618610
@@ -628,9 +620,7 @@ main {
628620
629621 /* Prevents the container from jumping when the scrollbar is shown */
630622 /* 688px is the max width of the input form + left and right paddings: var(--sys-size-36) + 2 * var(--sys-size-5) */
631- /* stylelint-disable-next-line at-rule-no-unknown */
632623 @container (width > 688px) {
633- /* stylelint-disable-next-line unit-no-unknown */
634624 --half-scrollbar-width : calc ((100cqw - 100% ) / 2 );
635625
636626 margin-left : var (--half-scrollbar-width );
0 commit comments