mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-30 19:04:43 +00:00
fix for #2528 listviews: first list-item has "glowing" corners on top
This commit is contained in:
parent
7fe9cc4f7b
commit
e5b123ce75
1 changed files with 7 additions and 1 deletions
|
|
@ -87,7 +87,13 @@ $.widget( "mobile.listview", $.mobile.widget, {
|
|||
.addClass( "ui-corner-top" );
|
||||
|
||||
$topli.add( $topli.find( ".ui-btn-inner" ) )
|
||||
.find( ".ui-li-link-alt" )
|
||||
// exclude the ui-btn-inner span in split lists
|
||||
.not( ".ui-li-link-alt span:first-child" ) )
|
||||
// give the glowing top-border a radius
|
||||
.addClass( "ui-corner-top" )
|
||||
.end()
|
||||
// include the first span in split lists for border-right-radius setting
|
||||
.find( ".ui-li-link-alt, .ui-li-link-alt span:first-child" )
|
||||
.addClass( "ui-corner-tr" )
|
||||
.end()
|
||||
.find( ".ui-li-thumb" )
|
||||
|
|
|
|||
Loading…
Reference in a new issue