From 1d3d5a185d4d3f6b055d5e80ebd0e3aa74391886 Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Sat, 17 Sep 2016 16:15:37 +0200 Subject: [PATCH] fix(item): sliding item with icon-only buttons --- src/components/item/item-sliding.scss | 2 +- src/components/item/test/sliding/main.html | 48 +++++++++++----------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/components/item/item-sliding.scss b/src/components/item/item-sliding.scss index a68b694087..61396afdf8 100644 --- a/src/components/item/item-sliding.scss +++ b/src/components/item/item-sliding.scss @@ -51,7 +51,7 @@ ion-item-options .button { box-sizing: content-box; } -ion-item-options:not([icon-left]) .button { +ion-item-options:not([icon-left]) .button:not([icon-only]) { .button-inner { flex-direction: column; } diff --git a/src/components/item/test/sliding/main.html b/src/components/item/test/sliding/main.html index 7e290e7294..8c97c289c3 100644 --- a/src/components/item/test/sliding/main.html +++ b/src/components/item/test/sliding/main.html @@ -31,15 +31,15 @@ - - - @@ -52,8 +52,8 @@

Hey do you want to go to the game tonight?

- - + + @@ -63,8 +63,8 @@

I think I figured out how to get more Mountain Dew

- - + + @@ -75,16 +75,16 @@

I think I figured out how to get more Mountain Dew

- - - @@ -97,16 +97,16 @@

I think I figured out how to get more Mountain Dew

- - - @@ -119,7 +119,7 @@ One Line w/ Icon, div only text - @@ -134,13 +134,13 @@ One Line w/ Avatar, div only text - - - @@ -151,11 +151,11 @@ One Line, dynamic option - - @@ -167,11 +167,11 @@ One Line, dynamic icon-left option - - @@ -187,10 +187,10 @@

Paragraph text.

- - +