Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
cc0934d8
Commit
cc0934d8
authored
Aug 17, 2016
by
qingwei.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix dot
fix style
parent
e99a7b3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
packages/badge/src/main.vue
packages/badge/src/main.vue
+2
-0
packages/theme-default/src/badge.css
packages/theme-default/src/badge.css
+1
-1
No files found.
packages/badge/src/main.vue
View file @
cc0934d8
...
@@ -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
;
...
...
packages/theme-default/src/badge.css
View file @
cc0934d8
...
@@ -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
)
*
*
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment