Permalink
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.
  • Loading branch information...
1 parent faecfda commit a25fef97ab7782f8a30698249b7a05b8d3011c7a @jaspermdegroot jaspermdegroot committed Apr 3, 2013
Showing with 5 additions and 2 deletions.
  1. +1 −2 css/structure/jquery.mobile.button.css
  2. +4 −0 css/structure/jquery.mobile.listview.css
@@ -51,8 +51,7 @@ div.ui-btn-text { width: auto; }
.ui-mini .ui-btn-icon-bottom .ui-btn-inner { padding-bottom: 30px; }
/* Corner styling inheritance */
-.ui-btn-inner,
-.ui-btn-text {
+.ui-btn-inner {
-webkit-border-radius: inherit;
border-radius: inherit;
}
@@ -17,6 +17,10 @@ ol.ui-listview, ol.ui-listview .ui-li-divider { counter-reset: listnumbering; }
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) ". "; }
ol.ui-listview .ui-li-jsnumbering:before { content: "" !important; } /* to avoid chance of duplication */
+.ui-listview .ui-li > .ui-btn-text {
+ -webkit-border-radius: inherit;
+ border-radius: inherit;
+}
.ui-listview > .ui-li.ui-first-child,
.ui-listview .ui-btn.ui-first-child > .ui-li > .ui-btn-text > .ui-link-inherit {
-webkit-border-top-right-radius: inherit;

0 comments on commit a25fef9

Please sign in to comment.