Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Standardize Form Control Look and Feel on Mobile Safari #63

Open
ghost opened this issue Apr 16, 2018 · 3 comments
Open

Standardize Form Control Look and Feel on Mobile Safari #63

ghost opened this issue Apr 16, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 16, 2018

Using hack without a css reset of any kind we can see some elements are unstyled to achieve the expected look-and-feel:

hack/src/css/components.css

Lines 139 to 141 in 5843d89

-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;

Let's extend this also to input controls for mobile safari. Here's a primer for making it happen: https://signalvnoise.com/posts/2609-customizing-web-forms-with-css3-and-webkit

@ghost ghost added the enhancement label Apr 16, 2018
@ghost
Copy link
Author

ghost commented Apr 16, 2018

If we want to look at disable zooming on controls for Safari Mobile extend this:

input.form-control,
textarea.form-control {
  font-size: initial;
}

guitmz pushed a commit to guitmz/after-dark-green that referenced this issue Jul 13, 2018
relates to egoist/hack#63

causes input form controls to look like hackcss input controls on iphone
@ghost
Copy link
Author

ghost commented Aug 18, 2018

How @guitmz addressed this:

input.form-control {
  border-radius: 0;
  background-color: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
}

@guitmz
Copy link

guitmz commented Aug 20, 2018

@JHabdas if I recall correctly this code actually came from you :)

vhscom pushed a commit to vhscom/after-dark that referenced this issue Feb 19, 2022
relates to egoist/hack#63

causes input form controls to look like hackcss input controls on iphone
vhscom added a commit to vhscom/after-dark that referenced this issue Mar 4, 2022
relates to egoist/hack#63

causes input form controls to look like hackcss input controls on iphone
vhscom added a commit to vhscom/after-dark that referenced this issue Mar 4, 2022
relates to egoist/hack#63

causes input form controls to look like hackcss input controls on iphone
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant