@@ -38,8 +38,7 @@ $theme: $bootstrap;
3838[part ~= ' prefixed' ] {
3939 [part ~= ' prefix' ] {
4040 border-block-width : rem (1px );
41- border-inline-start-width : rem (1px );
42- border-inline-end-width : 0 ;
41+ border-inline-width : 0 ;
4342 border-style : solid ;
4443 border-color : var-get ($theme , ' border-color' );
4544 overflow : hidden ;
@@ -68,8 +67,7 @@ $theme: $bootstrap;
6867[part ~= ' suffixed' ] {
6968 [part ~= ' suffix' ] {
7069 border-block-width : rem (1px );
71- border-inline-start-width : 0 ;
72- border-inline-end-width : rem (1px );
70+ border-inline-width : 0 ;
7371 border-style : solid ;
7472 border-color : var-get ($theme , ' border-color' );
7573 overflow : hidden ;
@@ -166,22 +164,22 @@ textarea {
166164 box-shadow : none ;
167165 }
168166
169- ::slotted ([slot= ' suffix ' ] ): not ( :last-child ) {
170- border-inline-end : rem (1px ) solid var (--disabled-border-color );
167+ ::slotted ([slot= ' prefix ' ] ) {
168+ border-inline-start : rem (1px ) solid var (--disabled-border-color );
171169 }
172170
173- ::slotted([slot = ' prefix ' ]) :not ( :first-child ) {
174- border-inline-start : rem (1px ) solid var (--disabled-border-color );
171+ ::slotted([slot = ' suffix ' ] ) {
172+ border-inline-end : rem (1px ) solid var (--disabled-border-color );
175173 }
176174}
177175
178176:host (:not ([disabled ])),
179177:host (:not (:disabled )) {
180- ::slotted ([slot= ' suffix ' ] ): not ( :last-child ) {
181- border-inline-end : rem (1px ) solid var (--border-color );
178+ ::slotted ([slot= ' prefix ' ] ) {
179+ border-inline-start : rem (1px ) solid var (--border-color );
182180 }
183181
184- ::slotted([slot = ' prefix ' ]) :not ( :first-child ) {
185- border-inline-start : rem (1px ) solid var (--border-color );
182+ ::slotted([slot = ' suffix ' ] ) {
183+ border-inline-end : rem (1px ) solid var (--border-color );
186184 }
187185}
0 commit comments