Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

submit button in header renders incorrectly #4642

Closed
jferguson opened this Issue · 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 jaspermdegroot closed this issue from a commit
Jasper de Groot jaspermdegroot Button widget: Rewrote code that adds class ui-submit. Fixes #4642 - …
…submit button in header renders incorrectly [1.1.2.]
866bb5d
Jasper de Groot

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

Jasper de Groot jaspermdegroot referenced this issue from a commit
Jasper de Groot jaspermdegroot 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
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

@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.