[openstreetmap/openstreetmap-website] Lock describe_location button to query placeholder (PR #6184)

Tom Hughes notifications at github.com
Sat Jul 12 11:02:13 UTC 2025


@tomhughes requested changes on this pull request.

In addition to my inline comment there's a separate issue on Firefox which I've opened #6185 for.

> @@ -556,6 +556,10 @@ header .search_forms,
 .search_form {
   .describe_location {
     font-size: 10px;
+
+    input:not(:placeholder-shown) + .input-group-text & {

This rule doesn't actually work because it compiles to:

```css
input:not(:placeholder-shown) + .input-group-text .search_form .describe_location
```

when what you want is:

```css
.search_form input:not(:placeholder-shown) + .input-group-text .describe_location
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6184#pullrequestreview-3012937661
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6184/review/3012937661 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250712/cdde585d/attachment.htm>


More information about the rails-dev mailing list