Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya committed Mar 20, 2024
1 parent 57389bd commit 427c00c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/ui/src/components/ControllerBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const controlBar = $.css({
left: 0,
right: 0,
'z-index': 7,
padding: '0.5em 1em 0',
padding: '0.5em 0.5em 0',
transition: 'transform 0.3s ease',
height: 'var(--control-bar-height)',

Expand Down
2 changes: 0 additions & 2 deletions packages/ui/src/components/ControllerBottom.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { icon } from '../style'
export const time = $.css`
font-variant-numeric: tabular-nums;
font-size: 0.875em;
margin-top: 2px;
`

export const live = $.css(
Expand Down Expand Up @@ -92,7 +91,6 @@ export const textIcon = $.cls('textIcon')
export const withIcon = $.css({
display: 'flex',
'align-items': 'center',
margin: '0 -.5em',

[`& > .${icon}:last-child${
isMobile ? `, & > .${icon}[aria-label="Play"], & > .${icon}[aria-label="Pause"]` : ''
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/ControllerBottom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const controllerBottomWrap = $.css({
right: 0,
bottom: 0,
'z-index': 7,
padding: '0 1em',
padding: '0 0.5em',
transition: 'transform 0.3s ease, padding 0.3s ease',
'&::before': {
position: 'absolute',
Expand Down

0 comments on commit 427c00c

Please sign in to comment.