From 3df1f628db5dcfe41c8f56594b0133c552897fe3 Mon Sep 17 00:00:00 2001 From: myxvisual Date: Wed, 21 Jun 2017 00:03:43 +0800 Subject: [PATCH] fix: Fixed MediaPlayer style --- src/MediaPlayer/Control.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/MediaPlayer/Control.tsx b/src/MediaPlayer/Control.tsx index 60b5ba2f..84f7ddcc 100644 --- a/src/MediaPlayer/Control.tsx +++ b/src/MediaPlayer/Control.tsx @@ -324,7 +324,10 @@ function getStyles(mock: Control): { flexDirection: "row", alignItems: "center", justifyContent: "space-between", - ...(displayMode !== "default" ? rootStyle : void 0), + width: "100%", + ...(displayMode !== "default" ? { + background: theme.altHigh + } : void 0), height: 48 }) };