From 8050247e8123b9a8cfec5e6940a49e95524d56cc Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Thu, 6 Dec 2018 19:58:48 +0100 Subject: [PATCH] fix(select-option): using external style --- core/src/components/select-option/select-option.scss | 3 +++ core/src/components/select-option/select-option.tsx | 6 +----- 2 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 core/src/components/select-option/select-option.scss diff --git a/core/src/components/select-option/select-option.scss b/core/src/components/select-option/select-option.scss new file mode 100644 index 0000000000..cc36f78bfa --- /dev/null +++ b/core/src/components/select-option/select-option.scss @@ -0,0 +1,3 @@ +:host { + display: none; +} diff --git a/core/src/components/select-option/select-option.tsx b/core/src/components/select-option/select-option.tsx index c93bde67b6..fbd15271b9 100644 --- a/core/src/components/select-option/select-option.tsx +++ b/core/src/components/select-option/select-option.tsx @@ -3,11 +3,7 @@ import { Component, ComponentInterface, Element, Event, EventEmitter, Prop } fro @Component({ tag: 'ion-select-option', shadow: true, - styles: ` - :host { - display: none; - } - ` + styleUrl: 'select-option.scss' }) export class SelectOption implements ComponentInterface {