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

search input on header: clear button's position isn't correct when I input some characters #4619

Closed
davidlilin opened this Issue Jun 28, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@davidlilin

If i put search input on header/footer, after i type in some letters in search input, you will see the clear button will display on the outside of input field.

http://jsbin.com/udukel/5/

@agcolom

This comment has been minimized.

Show comment
Hide comment
@agcolom

agcolom Jun 28, 2012

Member

@davidlilin Thanks a lot for the test page. I confirm the issue.

@uGoMobi @toddparker This seems to be due to the padding rule in:

.ui-header .ui-fullsize .ui-btn-inner, .ui-footer .ui-fullsize .ui-btn-inner {
font-size: 16px;
padding: 0.6em 25px;
}

Member

agcolom commented Jun 28, 2012

@davidlilin Thanks a lot for the test page. I confirm the issue.

@uGoMobi @toddparker This seems to be due to the padding rule in:

.ui-header .ui-fullsize .ui-btn-inner, .ui-footer .ui-fullsize .ui-btn-inner {
font-size: 16px;
padding: 0.6em 25px;
}

@jaspermdegroot

This comment has been minimized.

Show comment
Hide comment
@jaspermdegroot

jaspermdegroot Jul 1, 2012

Member

@davidlilin

This fix came just too late to make into the 1.1.1. release. As a temporary fix you can add this to your custom CSS:

.ui-input-clear .ui-btn-inner { padding: 0 !important; }
Member

jaspermdegroot commented Jul 1, 2012

@davidlilin

This fix came just too late to make into the 1.1.1. release. As a temporary fix you can add this to your custom CSS:

.ui-input-clear .ui-btn-inner { padding: 0 !important; }

jaspermdegroot added a commit that referenced this issue Jul 12, 2012

Buttons: Adjusted CSS selector for fullsize button in toolbar. Fixes #…
…4619 - Search input clear button gets unwanted padding when in header/footer. [1.1.2.]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment