refactor: change all round button to rect button

This commit is contained in:
07akioni 2020-05-31 00:58:18 +08:00
parent 8cd5abe766
commit c1c228ec75
9 changed files with 2 additions and 18 deletions

View File

@ -41,7 +41,6 @@
<div class="n-data-table-filter-menu__action">
<n-button
size="tiny"
round
:theme="theme"
@click="handleCancelClick"
>
@ -51,7 +50,6 @@
:theme="theme"
type="primary"
size="tiny"
round
@click="handleConfirmClick"
>
{{ NDataTable.localeNamespace.confirm }}

View File

@ -79,7 +79,6 @@
v-if="actions.includes('clear')"
:theme="theme"
size="tiny"
round
@click="clearValue"
>
{{ localeNamespace.clear }}
@ -88,7 +87,6 @@
v-if="actions.includes('now')"
:theme="theme"
size="tiny"
round
@click="setSelectedDateTimeToNow"
>
{{ localeNamespace.now }}
@ -97,7 +95,6 @@
v-if="actions.includes('confirm')"
:theme="theme"
size="tiny"
round
type="primary"
:disabled="isDateInvalid"
@click="handleConfirmClick"

View File

@ -155,7 +155,6 @@
v-if="actions.includes('clear')"
:theme="theme"
size="tiny"
round
@click="clearValue"
>
{{ localeNamespace.clear }}
@ -164,7 +163,6 @@
v-if="actions.includes('confirm')"
:theme="theme"
size="tiny"
round
type="primary"
:disabled="isRangeInvalid"
@click="handleConfirmClick"

View File

@ -110,7 +110,6 @@
v-if="actions.includes('clear')"
:theme="theme"
size="tiny"
round
@click="clearValue"
>
{{ localeNamespace.clear }}
@ -119,7 +118,6 @@
v-if="actions.includes('now')"
:theme="theme"
size="tiny"
round
@click="setSelectedDateTimeToNow"
>
{{ localeNamespace.now }}
@ -128,7 +126,6 @@
v-if="actions.includes('confirm')"
:theme="theme"
size="tiny"
round
type="primary"
:disabled="isDateTimeInvalid"
@click="handleConfirmClick"

View File

@ -235,7 +235,6 @@
v-if="actions.includes('clear')"
:theme="theme"
size="tiny"
round
@click="clearValue"
>
{{ localeNamespace.clear }}
@ -245,7 +244,6 @@
:theme="theme"
:disabled="isRangeInvalid"
size="tiny"
round
type="primary"
@click="handleConfirmClick"
>

View File

@ -23,13 +23,11 @@
<slot name="action">
<n-button
size="tiny"
round
@click="handleNegativeClick"
>
{{ localizedNegativeText }}
</n-button>
<n-button
round
size="tiny"
type="primary"
@click="handlePositiveClick"

View File

@ -136,7 +136,6 @@
<div class="n-time-picker-selector-actions">
<n-button
size="tiny"
round
:theme="syntheticTheme"
@click="handleNowClick"
>
@ -144,7 +143,6 @@
</n-button>
<n-button
size="tiny"
round
type="primary"
class="n-time-picker-selector-actions__confirm"
:theme="syntheticTheme"

View File

@ -265,7 +265,7 @@
justify-content: flex-end;
@include b(button) {
margin-bottom: 0;
margin-right: 12px;
margin-right: 8px;
}
}
border-top: 1px solid $--date-picker-divider-color;

View File

@ -24,7 +24,7 @@
display: flex;
justify-content: flex-end;
@include b(button) {
margin-right: 12px;
margin-right: 8px;
&:last-child {
margin-right: 0;
}