animina-dating / animina

👫❤️ ANIMINA Dating Platform
https://animina.de
Other
16 stars 6 forks source link

Country pull down field #1046

Closed wintermeyer closed 3 weeks ago

wintermeyer commented 1 month ago

The pull-down country field doesn't feel right. It is different from the other input fields (CSS wise).

Bildschirmfoto 2024-09-13 um 18 48 35

Please have a look at this HTML:

<div class="mt-2 sm:col-span-2 sm:mt-0">
              <select id="country" name="country" autocomplete="country-name" class="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:max-w-xs sm:text-sm sm:leading-6">
                <option>United States</option>
                <option>Canada</option>
                <option>Mexico</option>
              </select>
            </div>

And this field shouldn't have the initial focus. AND it should default to Germany.

MICHAELMUNAVU83 commented 1 month ago

@wintermeyer , it seems it is a style native to the select element , since we only have germany at the moment , are you open to having a text input , that is read only and defaults to Germany . I have this now , but still looks off

Screenshot 2024-09-15 at 10 16 53

wintermeyer commented 1 month ago

It is off but better than before. Please ask a question about it on stackoverflow.com and add a link to that here. I am pretty sure that there is a good solution for the given problem within the TailwindCSS universe.

Worst case: This is good for now.