-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Tachyons to replicate 'Send' form #94
Labels
Comments
We've use |
ZooeyMiller
added a commit
that referenced
this issue
Jun 27, 2017
We've ended up giving the button a width in pixels so that it's easier to calculate the width of the input. |
finnhodgkin
added a commit
that referenced
this issue
Jun 27, 2017
finnhodgkin
added a commit
that referenced
this issue
Jun 27, 2017
ZooeyMiller
added a commit
that referenced
this issue
Jun 27, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are trying to replicate the current UI using Elm and Tachyons (see #86), but are struggling with the form for sending a message.
Currently it uses flexbox to keep the button the same size but have the width of the input vary based on the width of the screen. We would like to not use flexbox so that the Elm/Tachyons example has wider browser compatibility.
At first we looked at using
%
values on the button and the input to make them responsive and sat next to each other, but because usinginline-block
adds a small amount of space due to the font-size, this didn't work, as tachyons doesn't allow us to setfont-size: 0
on the container.We're now looking into calculating the window size with elm as a way to deal with this, opening this issue for if anyone has any input and to keep a record of how we solve it.
The text was updated successfully, but these errors were encountered: