mirror of
https://github.com/Vikeo/LifeTrinket.git
synced 2025-11-14 06:58:00 +00:00
fix keep awake toggle and layout styling
This commit is contained in:
@@ -42,7 +42,7 @@ export const LayoutOptions: React.FC<LayoutOptionsProps> = ({
|
||||
switch (numberOfPlayers) {
|
||||
case 1:
|
||||
return (
|
||||
<div>
|
||||
<>
|
||||
<FormControlLabel
|
||||
value={Orientation.Landscape}
|
||||
control={
|
||||
@@ -91,7 +91,7 @@ export const LayoutOptions: React.FC<LayoutOptionsProps> = ({
|
||||
}
|
||||
label=""
|
||||
/>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
case 2:
|
||||
return (
|
||||
@@ -309,6 +309,7 @@ export const LayoutOptions: React.FC<LayoutOptionsProps> = ({
|
||||
value={Orientation.Portrait}
|
||||
control={
|
||||
<Radio
|
||||
style={{ maxWidth: iconMaxWidth, maxHeight: iconMaxHeight }}
|
||||
icon={
|
||||
<FivePlayersSide
|
||||
height={iconHeight}
|
||||
@@ -362,6 +363,7 @@ export const LayoutOptions: React.FC<LayoutOptionsProps> = ({
|
||||
value={Orientation.Portrait}
|
||||
control={
|
||||
<Radio
|
||||
style={{ maxWidth: iconMaxWidth, maxHeight: iconMaxHeight }}
|
||||
icon={
|
||||
<SixPlayersSide
|
||||
height={iconHeight}
|
||||
|
||||
Reference in New Issue
Block a user