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

ui-btn-right broken in footer #3749

Closed
aveitch opened this Issue Mar 6, 2012 · 0 comments

Comments

Projects
None yet
2 participants
@aveitch

aveitch commented Mar 6, 2012

The following code works fine:

<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.css" />
    <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.js"></script>
  </head>
  <body>
    <div data-role="header" data-position="inline">
      <h1>test</h1>
      <a href="index.html" data-icon="gear" class="ui-btn-right">Opt</a>
    </div>
  </body>
</html>

But simply changing the data-role to footer breaks it:

<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.css" />
    <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.js"></script>
  </head>
  <body>
    <div data-role="footer" data-position="inline">
      <h1>test</h1>
      <a href="index.html" data-icon="gear" class="ui-btn-right">Opt</a>
    </div>
  </body>
</html>

I've tested this on Safari and Chrome and also on 1.0.1 and rc1.

Thanks!

@Wilto Wilto closed this in a37efe8 Mar 6, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment