Improved the solutions to be more mobile friendly

This commit is contained in:
Tiago Ribeiro
2023-04-20 22:55:24 +01:00
parent 02d76e4c3c
commit ed11d6f9d6
6 changed files with 41 additions and 21 deletions

View File

@@ -91,14 +91,14 @@ export default function WriteBlanksSolutions({
</span>
</div>
<div className="self-end flex gap-8">
<div className="self-end flex flex-col-reverse items-center w-full md:justify-between md:items-start md:flex-row gap-8">
<button className={clsx("btn btn-wide gap-4 relative text-white", errorButtonStyle)} onClick={onBack}>
<div className="absolute left-4">
<Icon path={mdiArrowLeft} color="white" size={1} />
</div>
Back
</button>
<button className={clsx("btn btn-wide gap-4 relative text-white", infoButtonStyle)} onClick={() => onNext()}>
<button className={clsx("btn btn-wide gap-4 relative text-white", infoButtonStyle)} onClick={onNext}>
Next
<div className="absolute right-4">
<Icon path={mdiArrowRight} color="white" size={1} />