ISSUE-031 - Improvements to the look of National Flag. Adjusted the sizing and spacing to better support larger chyron heights.

This commit is contained in:
Kyle Geib committed 2022-01-25 13:32:31 -05:00
1 parent 562667bdd7
commit 1dc8e8bc15
4 files changed
+15 -21

No files matched your search

@@ -20,7 +20,6 @@ import { theme } from "../../../../shared/theme";
export function ChyronDriver() {
// TODO - Get driver details from Redux.
const driver = drivers["hamilton"];
const baseWidth = 582;
const baseHeight = 72;
@@ -49,14 +48,14 @@ export function ChyronDriver() {
</TextContainer>
<FlagContainer
height={baseHeight * 0.9}
width={250}
width={baseHeight * 3}
right={-baseHeight * 0.6}
>
<AngledFlag
flagMode="country"
flag={driver.nationality}
flagHeight={64}
flagHeight={baseHeight * 0.9}
/>
</FlagContainer>
</BaseBackground>
);