fix(menu-button): fix sass linting

This commit is contained in:
Manu Mtz.-Almeida
2018-07-24 02:38:55 +02:00
parent ddb1e4989a
commit d22f04bd90
6 changed files with 11 additions and 8 deletions

View File

@ -13,7 +13,7 @@ export interface AlertOptions {
export interface AlertInput { export interface AlertInput {
type: string; type: string;
name: string | number; name: string;
placeholder?: string; placeholder?: string;
value?: string; value?: string;
label?: string; label?: string;

View File

@ -60,6 +60,7 @@ export class ItemOption {
return ( return (
<TagType <TagType
type="button"
class="item-option-native" class="item-option-native"
disabled={this.disabled} disabled={this.disabled}
href={this.href} href={this.href}

View File

@ -12,8 +12,7 @@ import { isEndSide } from '../../utils/helpers';
export class ItemOptions { export class ItemOptions {
@Element() el!: HTMLElement; @Element() el!: HTMLElement;
@Prop({ context: 'window' }) @Prop({ context: 'window' }) win!: Window;
win!: Window;
/** /**
* The side the option button should be on. Possible values: `"start"` and `"end"`. Defaults to `"end"`. If you have multiple `ion-item-options`, a side must be provided for each. * The side the option button should be on. Possible values: `"start"` and `"end"`. Defaults to `"end"`. If you have multiple `ion-item-options`, a side must be provided for each.

View File

@ -9,7 +9,7 @@
} }
button { button {
padding: 0 5px; @include padding(0, 5px);
} }
ion-icon { ion-icon {

View File

@ -9,7 +9,7 @@
} }
button { button {
padding: 0 8px; @include padding(0, 8px);
} }
ion-icon { ion-icon {

View File

@ -15,7 +15,7 @@ button {
@include font-smoothing(); @include font-smoothing();
display: flex; display: flex;
height: 32px;
position: relative; position: relative;
flex-flow: row nowrap; flex-flow: row nowrap;
@ -23,6 +23,8 @@ button {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
height: 32px;
border: 0; border: 0;
outline: none; outline: none;
@ -47,7 +49,8 @@ button {
} }
ion-icon { ion-icon {
padding: 0; @include margin(0);
margin: 0; @include padding(0);
pointer-events: none; pointer-events: none;
} }