Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit d9eb855

Browse files
Button: removed border-radius inherit for ui-btn-text and added it to listview because that's the only place where we need this. Fixes #5709.
1 parent 509f3b4 commit d9eb855

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

css/structure/jquery.mobile.button.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ div.ui-btn-text { width: auto; }
5151
.ui-mini .ui-btn-icon-bottom .ui-btn-inner { padding-bottom: 30px; }
5252

5353
/* Corner styling inheritance */
54-
.ui-btn-inner,
55-
.ui-btn-text {
54+
.ui-btn-inner {
5655
-webkit-border-radius: inherit;
5756
border-radius: inherit;
5857
}

css/structure/jquery.mobile.listview.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ ol.ui-listview, ol.ui-listview .ui-li-divider { counter-reset: listnumbering; }
1717
ol.ui-listview .ui-link-inherit:before, ol.ui-listview .ui-li-static:before, .ui-li-dec { font-size: .8em; display: inline-block; padding-right: .3em; font-weight: normal; counter-increment: listnumbering; content: counter(listnumbering) ". "; }
1818
ol.ui-listview .ui-li-jsnumbering:before { content: "" !important; } /* to avoid chance of duplication */
1919

20+
.ui-listview .ui-li > .ui-btn-text {
21+
-webkit-border-radius: inherit;
22+
border-radius: inherit;
23+
}
2024
.ui-listview > .ui-li.ui-first-child,
2125
.ui-listview .ui-btn.ui-first-child > .ui-li > .ui-btn-text > .ui-link-inherit {
2226
-webkit-border-top-right-radius: inherit;

0 commit comments

Comments
 (0)