From eefd188c951303791b484a35f46d87c8002b3470 Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Thu, 12 Oct 2023 19:56:45 +0000 Subject: [PATCH] fix sizes & compatibility for mobile --- .../src/components/Player/Controls/index.less | 30 +++++-------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/packages/app/src/components/Player/Controls/index.less b/packages/app/src/components/Player/Controls/index.less index 35034f7f..e6518eb5 100644 --- a/packages/app/src/components/Player/Controls/index.less +++ b/packages/app/src/components/Player/Controls/index.less @@ -1,24 +1,3 @@ -html { - &.mobile { - .embbededMediaPlayerWrapper { - .player { - .player-controls { - svg { - font-size: 1.2rem; - } - - .likeButton { - svg { - width: 3rem; - height: 1.2rem; - } - } - } - } - } - } -} - .player-controls { display: inline-flex; flex-direction: row; @@ -36,8 +15,13 @@ html { } .ant-btn { - height: 32px; - width: 32px; + height: 32px!important; + max-height: 32px!important; + min-height: 32px!important; + + width: 32px!important; + max-width: 32px!important; + min-width: 32px!important; padding: 0; margin: 0;