Skip to content

Commit 84f6a9b

Browse files
committed
Coveo: Remove unneeded data attribute
1 parent b2701ab commit 84f6a9b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

assets/css/v2/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ ol li:last-child {
817817
/* This is our "mobile" or no sidebar breakpoint */
818818
@media (max-width: 68rem) {
819819
#search-standalone-header-panel:checked ~ .grid-container {
820-
.header__search[data-mode="mobile"] {
820+
.header__search {
821821
position: absolute;
822822
top: 100%;
823823
width: 100%;

layouts/partials/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
</div>
1212
{{ if ( not ( in .Site.Params.buildtype "package" ) ) }}
1313
<!-- Mobile button -->
14-
<label class="header__search--mobile--search--button" id="header__search--mobile--search--button" for="search-standalone-header-panel">
14+
<label class="header__search--mobile--search--button"for="search-standalone-header-panel">
1515
{{ partial "lucide" (dict "context" . "icon" "search") }}
1616
</label>
17-
<div class="header__search" id="header__search" data-mode="mobile">
17+
<div class="header__search">
1818
<!-- Standalone search box. -->
1919
{{ partial "coveo-atomic-search.html" (dict "id" "search-standalone-header") }}
2020
</div>

0 commit comments

Comments
 (0)