Skip to content
This repository

submit button in header renders incorrectly #4642

Closed
jferguson opened this Issue July 03, 2012 · 4 comments

3 participants

jferguson Jasper de Groot jitbit
jferguson

classes ui-btn-right and ui-submit are added without space "ui-btn-rightui-submit" which causes the button to render 100% width and out of place. This code worked in 1.1.0:

    <div data-role="header" data-theme="d">
           <a data-icon="arrow-l" data-theme="d">Back</a>
           <h1 class="ui-title">Title</h1>
           <input type="submit" class="ui-btn-right" value="Save" />
    </div>
Jasper de Groot uGoMobi closed this issue from a commit July 04, 2012
Jasper de Groot Button widget: Rewrote code that adds class ui-submit. Fixes #4642 - …
…submit button in header renders incorrectly [1.1.2.]
866bb5d
Jasper de Groot uGoMobi closed this in 866bb5d July 04, 2012
Jasper de Groot
Owner

@jferguson - Thanks for reporting the issue. Just fixed it.

Jasper de Groot uGoMobi referenced this issue from a commit July 04, 2012
Jasper de Groot Button widget: Rewrote code that adds class ui-submit. Fixes #4642 - …
…submit button in header renders incorrectly [1.1.2.]
8f77d1c
Elliot Smith townxelliot referenced this issue from a commit July 30, 2012
Commit has since been removed from the repository and is no longer available.
jitbit

I still see this bug in 1.4.0. "button" and "input submit" are rendered incorrectly

Jasper de Groot
Owner

@jitbit - Can you provide a simple test page? Thanks!

JS Bin template: http://jsbin.com/AKOmUxa/1/edit

jitbit

Sorry, my bad, forgot to add "ui-btn-right ui-btn ui-btn-inline" classes to my button... Sorry guys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.