Skip to content

Commit 41a29b6

Browse files
ddewan-gitddewan-githenriqueiamarino
authored
Fix: Prevent the sticky search bar from interfering with other interactive elements (#112)
* Update style.css to fix the sticky bottom search bar issue Added 2 properties to the sticky-bottom class (style.css). * Update editor-style.css to fix the sticky bottom search bar issue Added 2 properties to the sticky-bottom class (editor-style.css). Co-authored-by: ddewan-git <ddewan@git.wordpress.org> Co-authored-by: henriqueiamarino <iamarinoh@git.wordpress.org>
1 parent c738c48 commit 41a29b6

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎assets/css/editor-style.css‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ header.wp-block-template-part:has(> .is-position-sticky) {
9292
position: sticky !important;
9393
inset-block-end: 0;
9494
z-index: 10;
95+
width: fit-content;
96+
margin-inline-start: auto;
9597
}
9698

9799
/*

‎style.css‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ header.wp-block-template-part:has(> .is-position-sticky) {
199199
position: sticky;
200200
inset-block-end: 0;
201201
z-index: 10;
202+
width: fit-content;
203+
margin-inline-start: auto;
202204
}
203205

204206
/*

0 commit comments

Comments
 (0)