Commit cc0934d8 authored by qingwei.li's avatar qingwei.li

Fix dot

fix style
parent e99a7b3d
...@@ -20,6 +20,8 @@ export default { ...@@ -20,6 +20,8 @@ export default {
computed: { computed: {
content() { content() {
if (this.dot) return;
const value = this.value; const value = this.value;
const max = this.max; const max = this.max;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
padding: 0 var(--badge-padding); padding: 0 var(--badge-padding);
text-align: center; text-align: center;
white-space: nowrap; white-space: nowrap;
border:1px solid #fff; border: 1px solid #fff;
@when fixed { @when fixed {
position: absolute 0 calc(var(--badge-size) / 2 + 1) * *; position: absolute 0 calc(var(--badge-size) / 2 + 1) * *;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment