Skip to content

Tab bar with two or five items, not the full display width is used #1

Description

@ti-dev

First, a really cool extension! I like it very much and I will use it in my project!

On your demo webpage and on my iPhone webapp I have a tab bar with five items. The problem its, that on the right-hand side, there are a few pixels free space.

I checked the CSS and I see this line:
.ui-grid-d .ui-block-a, .ui-grid-d .ui-block-b, .ui-grid-d .ui-block-c, .ui-grid-d .ui-block-d, .ui-grid-d .ui-block-e { width: 19.9%; }

Why isn't there 20.0%? With 20 it works and the whole width of the screen is used.

Also you have some lines twice in your CSS:
/* fix for JQM issue 2270, IE navbar breaking (will hopefully be worked into JQM /
/
grid a: 50/50 /
.ui-grid-a .ui-block-a, .ui-grid-a .ui-block-b { width: 49.9%; }
.ui-grid-a .ui-block-a { clear: left; }
/
grid d: 20/20/20/20/20 */
.ui-grid-d .ui-block-a, .ui-grid-d .ui-block-b, .ui-grid-d .ui-block-c, .ui-grid-d .ui-block-d, .ui-grid-d .ui-block-e { width: 19.9%; }
.ui-grid-d .ui-block-a { clear: left; }

Best Regards.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions