Skip to content

Commit 8750888

Browse files
committed
move max-width from HowToPlay to Level component
1 parent 6a2e6ae commit 8750888

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/GameLevel/Level.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ const Level = ({ id, level }) => {
391391

392392
return (
393393
<div key={id} className="flex flex-col justify-center items-center pt-4">
394-
<div className="flex flex-col items-center">
394+
<div className="flex flex-col items-center sm:w-[512px]">
395395
<div>
396396
<div
397397
className={`flex items-center space-x-4 sm:space-x-0 sm:justify-between py-1 w-full ${

src/components/GameLevel/components/HowToPlay.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const HowToPlay = () => {
88

99
return (
1010
<CardInfo title={`${t('HOW_TO_PLAY')}:`} type="collapsible">
11-
<div className="self-start mt-6 mb-16 max-w-md md:max-w-lg mx-2">
11+
<div className="self-start mt-6 mb-16 mx-2">
1212
<ol className="list-decimal space-y-2">
1313
<li className="ml-4">
1414
<Trans i18nKey="GAME_GOAL_INSTRUCTION">

0 commit comments

Comments
 (0)