Skip to content
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

auto width on button inputs in topbar #7389

Merged
merged 1 commit into from Dec 11, 2015
Merged

Conversation

gpspake
Copy link
Contributor

@gpspake gpspake commented Dec 4, 2015

Inputs in the topbar use the fixed $topbar-input-width and are 200px wide by default.
That applies to button inputs as well which is probably not desirable for a search submit button, for instance.
This just excludes inputs with the button class from that rule.

Inputs in the topbar use the fixed $topbar-input-width and are 200px wide by default.
That applies to button inputs as well which is probably not desirable for a search submit button, for instance.
This just excludes inputs with the button class from that rule.
@gpspake
Copy link
Contributor Author

gpspake commented Dec 4, 2015

just a note, it's probably ideal to use <button type="submit" class="button"> in this situation to avoid this problem, but sometimes search forms use <input type="submit" class="button">

@zurbchris zurbchris added the scss label Dec 10, 2015
zurbrandon pushed a commit that referenced this pull request Dec 11, 2015
auto width on button inputs in topbar
@zurbrandon zurbrandon merged commit a8511fc into foundation:develop Dec 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants