mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(menu-button): fix sass linting
This commit is contained in:
@ -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;
|
||||||
|
@ -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}
|
||||||
|
@ -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.
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
padding: 0 5px;
|
@include padding(0, 5px);
|
||||||
}
|
}
|
||||||
|
|
||||||
ion-icon {
|
ion-icon {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
padding: 0 8px;
|
@include padding(0, 8px);
|
||||||
}
|
}
|
||||||
|
|
||||||
ion-icon {
|
ion-icon {
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user