mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
fix(item): encode hex value in the detail arrow so it works on firefox
fixes #6830
This commit is contained in:
@ -13,7 +13,7 @@ $item-ios-note-color: darken($list-ios-border-color, 10%) !d
|
||||
|
||||
$item-ios-detail-push-show: true !default;
|
||||
$item-ios-detail-push-color: $list-ios-border-color !default;
|
||||
$item-ios-detail-push-svg: "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M2,20l-2-2l8-8L0,2l2-2l10,10L2,20z' fill='#{$item-ios-detail-push-color}'/></svg>" !default;
|
||||
$item-ios-detail-push-svg: "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'><path d='M2,20l-2-2l8-8L0,2l2-2l10,10L2,20z' fill='#{$item-ios-detail-push-color}'/></svg>" !default;
|
||||
|
||||
$item-ios-divider-background: #f7f7f7 !default;
|
||||
$item-ios-divider-color: #222 !default;
|
||||
|
@ -119,7 +119,9 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
@function url-encode($val) {
|
||||
@return str-replace($val, " ", "%20");
|
||||
$spaces: str-replace($val, " ", "%20");
|
||||
$encoded: str-replace($spaces, "#", "%23");
|
||||
@return $encoded;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user