File tree Expand file tree Collapse file tree 1 file changed +36
-30
lines changed Expand file tree Collapse file tree 1 file changed +36
-30
lines changed Original file line number Diff line number Diff line change @@ -1390,42 +1390,42 @@ atomic-search-box {
1390
1390
width : 18.5rem ;
1391
1391
display : flex;
1392
1392
align-items : center;
1393
- }
1394
1393
1395
- atomic-search-box ::part (input ) {
1396
- height : 2.25rem ;
1397
- font-size : var (--font-step--1 );
1398
- padding : 0.5rem 1rem ;
1399
- box-sizing : border-box;
1400
- }
1394
+ & ::part (input ) {
1395
+ height : 2.25rem ;
1396
+ font-size : var (--font-step--1 );
1397
+ padding : 0.5rem 1rem ;
1398
+ box-sizing : border-box;
1399
+ }
1401
1400
1402
- atomic-search-box ::part (textarea-expander ) {
1403
- white-space : nowrap;
1404
- overflow-x : auto;
1405
- overflow-y : hidden;
1406
- resize : none;
1407
- }
1401
+ & ::part (textarea-expander ) {
1402
+ white-space : nowrap;
1403
+ overflow-x : auto;
1404
+ overflow-y : hidden;
1405
+ resize : none;
1406
+ }
1408
1407
1409
- atomic-search-box ::part (textarea ) {
1410
- padding-left : 0 ;
1411
- padding-right : 0 ;
1412
- font-weight : 400 ;
1413
- }
1408
+ & ::part (textarea ) {
1409
+ padding-left : 0 ;
1410
+ padding-right : 0 ;
1411
+ font-weight : 400 ;
1412
+ }
1414
1413
1415
- atomic-search-box ::part (wrapper ) {
1416
- height : 100% ;
1417
- display : flex;
1418
- flex-direction : row-reverse;
1419
- align-items : center;
1420
- }
1414
+ & ::part (wrapper ) {
1415
+ height : 100% ;
1416
+ display : flex;
1417
+ flex-direction : row-reverse;
1418
+ align-items : center;
1419
+ }
1421
1420
1422
- atomic-search-box ::part (submit-button ) {
1423
- order : -1 ;
1424
- padding-right : 0 ;
1425
- }
1421
+ & ::part (submit-button ) {
1422
+ order : -1 ;
1423
+ padding-right : 0 ;
1424
+ }
1426
1425
1427
- atomic-search-box ::part (submit-button-wrapper ) {
1428
- margin : 0 ;
1426
+ & ::part (submit-button-wrapper ) {
1427
+ margin : 0 ;
1428
+ }
1429
1429
}
1430
1430
1431
1431
atomic-search-interface # search-standalone-header {
@@ -1456,6 +1456,12 @@ body:not(:has(.main-layout)) header atomic-search-interface {
1456
1456
display : block;
1457
1457
}
1458
1458
1459
+ body : has (atomic-refine-modal [is-open = "" ]) {
1460
+ /* Lock scrolling when modal is up */
1461
+ position : fixed;
1462
+ width : 100% ;
1463
+ }
1464
+
1459
1465
@media (max-width : 88rem ) {
1460
1466
/* Show on pages with sidebar if it is hidden */
1461
1467
body : has (.sidebar-layout ) header atomic-search-interface {
You can’t perform that action at this time.
0 commit comments