mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
refactor(buttons): button-native without prefix
Now we don't need prefix because of shadow-dom
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
color: current-color(contrast);
|
||||
}
|
||||
|
||||
.item-option-native {
|
||||
.button-native {
|
||||
@include text-inherit();
|
||||
@include padding(0, .7em);
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
.item-option-button-inner {
|
||||
.button-inner {
|
||||
display: flex;
|
||||
|
||||
flex-direction: column;
|
||||
|
||||
@ -65,12 +65,12 @@ export class ItemOption implements ComponentInterface {
|
||||
return (
|
||||
<TagType
|
||||
type="button"
|
||||
class="item-option-native"
|
||||
class="button-native"
|
||||
disabled={this.disabled}
|
||||
href={this.href}
|
||||
onClick={this.clickedOptionButton.bind(this)}
|
||||
>
|
||||
<span class="item-option-button-inner">
|
||||
<span class="button-inner">
|
||||
<slot name="start"></slot>
|
||||
<slot name="top" />
|
||||
<slot name="icon-only" />
|
||||
|
||||
Reference in New Issue
Block a user