Skip to content

Commit

Permalink
fix(menu-button): fix sass linting
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Jul 24, 2018
1 parent ddb1e49 commit d22f04b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/src/components/alert/alert-interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface AlertOptions {

export interface AlertInput {
type: string;
name: string | number;
name: string;
placeholder?: string;
value?: string;
label?: string;
Expand Down
1 change: 1 addition & 0 deletions core/src/components/item-option/item-option.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export class ItemOption {

return (
<TagType
type="button"
class="item-option-native"
disabled={this.disabled}
href={this.href}
Expand Down
3 changes: 1 addition & 2 deletions core/src/components/item-options/item-options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import { isEndSide } from '../../utils/helpers';
export class ItemOptions {
@Element() el!: HTMLElement;

@Prop({ context: 'window' })
win!: Window;
@Prop({ context: '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.
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/menu-button/menu-button.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}

button {
padding: 0 5px;
@include padding(0, 5px);
}

ion-icon {
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/menu-button/menu-button.md.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}

button {
padding: 0 8px;
@include padding(0, 8px);
}

ion-icon {
Expand Down
9 changes: 6 additions & 3 deletions core/src/components/menu-button/menu-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ button {
@include font-smoothing();

display: flex;
height: 32px;

position: relative;

flex-flow: row nowrap;
flex-shrink: 0;
align-items: center;
justify-content: center;

height: 32px;

border: 0;

outline: none;
Expand All @@ -47,7 +49,8 @@ button {
}

ion-icon {
padding: 0;
margin: 0;
@include margin(0);
@include padding(0);

pointer-events: none;
}

0 comments on commit d22f04b

Please sign in to comment.