Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya committed Jun 23, 2024
1 parent 9aa40d1 commit c8a4508
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oplayer/ui",
"version": "1.3.3-beta.0",
"version": "1.3.3-beta.1",
"description": "ui plugin for oplayer",
"type": "module",
"main": "./dist/index.es.js",
Expand Down
9 changes: 7 additions & 2 deletions packages/ui/src/components/Setting.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,17 @@ export const sliderCls = $.css({
border: 'none'
},

'&:hover::before': {
visibility: 'visible'
},

'::before': {
position: 'absolute',
left: '-0.5em',
left: '-0.3em',
top: 0,
transform: 'translate(-100%, -0.3em)',
content: 'attr(value)',
color: 'rgba(255, 255, 255, 0.7)'
color: 'rgba(255, 255, 255, 0.7)',
visibility: 'hidden'
}
})

0 comments on commit c8a4508

Please sign in to comment.