Skip to content

Commit 1bea143

Browse files
committed
Removed button ID and updated button CSS
1 parent 00c3c08 commit 1bea143

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

samples/ui-kit-place-search-text/index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
class="query-input"
3030
placeholder="Search for a place"
3131
value="cafe" />
32-
<button id="search-button" class="search-button">
33-
Search
34-
</button>
32+
<button class="search-button">Search</button>
3533
</div>
3634
<div class="list-container">
3735
<gmp-place-search selectable>
@@ -50,7 +48,7 @@
5048
The gmp-place-details-compact element is styled inline because it is
5149
conditionally rendered and moved into the info window, which is
5250
part of the map's shadow DOM.
53-
-->
51+
-->
5452
<gmp-place-details-compact
5553
orientation="horizontal"
5654
truncation-preferred

samples/ui-kit-place-search-text/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ gmp-place-search {
6565
cursor: pointer;
6666
}
6767

68-
.search-button:hover {
68+
.search-button:hover,
69+
.search-button:focus-visible {
6970
background-color: #1765cc;
7071
}
7172

0 commit comments

Comments
 (0)