feat: enhance player panel and draw status handling
- Refactored PlayerPanel layout for improved title positioning and responsiveness. - Added new function to check if betting is blocked based on hall status. - Updated HallDrawPanel to utilize the new betting status check and display appropriate messages. - Enhanced i18n support with new notices for review and non-bettable states across multiple languages.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/** 玩家端统一紧凑间距(页面壳、区块堆叠、区块间距) */
|
||||
export const playerPageInset = "px-3 pb-6 pt-2";
|
||||
/** 顶栏:左右等宽列 + 居中标题,避免返回键与标题高低不齐 */
|
||||
/** 顶栏:左右分列 + 标题绝对居中,避免右侧控件挤压/遮挡标题 */
|
||||
export const playerPageHeader =
|
||||
"mb-2 grid min-h-9 grid-cols-[1fr_auto_1fr] items-center gap-x-2";
|
||||
"relative mb-2 flex min-h-9 items-center justify-between gap-2";
|
||||
/** 顶栏左右控件统一高度 */
|
||||
export const playerHeaderControl =
|
||||
"inline-flex h-8 shrink-0 items-center justify-center";
|
||||
|
||||
Reference in New Issue
Block a user