From ede19f130c1644307a06ca9e6afa12c4df82c98f Mon Sep 17 00:00:00 2001
From: 07akioni <07akioni2@gmail.com>
Date: Thu, 12 Nov 2020 20:44:05 +0800
Subject: [PATCH] fix: styles glitches
---
demo/menu-options.js | 2 +-
src/_base/slot-machine/src/SlotMachine.vue | 4 ++++
src/badge/src/Badge.vue | 1 +
src/button/styles/_common.js | 2 +-
src/menu/src/styles/themed-base.cssr.js | 12 ++++------
src/pagination/src/Pagination.vue | 18 +++++++--------
src/pagination/src/styles/themed-base.cssr.js | 23 +++++++++----------
.../src/styles/steps/themed-base.cssr.js | 3 +--
8 files changed, 32 insertions(+), 33 deletions(-)
diff --git a/demo/menu-options.js b/demo/menu-options.js
index 86515f48c..60e757759 100644
--- a/demo/menu-options.js
+++ b/demo/menu-options.js
@@ -451,7 +451,7 @@ export default function (instance) {
},
{
name: 'Dialog',
- title: '确认',
+ title: '对话框',
titleExtra: 'Dialog',
path: `/${lang}/${theme}/doc` + '/n-dialog'
},
diff --git a/src/_base/slot-machine/src/SlotMachine.vue b/src/_base/slot-machine/src/SlotMachine.vue
index 45eef036a..fd58a5444 100644
--- a/src/_base/slot-machine/src/SlotMachine.vue
+++ b/src/_base/slot-machine/src/SlotMachine.vue
@@ -43,6 +43,10 @@ export default {
withCssr(styles)
],
props: {
+ theme: {
+ type: String,
+ default: undefined
+ },
value: {
type: [Number, String],
default: 0
diff --git a/src/badge/src/Badge.vue b/src/badge/src/Badge.vue
index b99deaefb..b17e283d9 100644
--- a/src/badge/src/Badge.vue
+++ b/src/badge/src/Badge.vue
@@ -24,6 +24,7 @@
>