Right align bet input amount. Fix panel layout

This commit is contained in:
jahooma 2021-12-14 18:38:11 -06:00
parent 0c880bb0cb
commit 504053dde9
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ export function BetPanel(props: { contract: Contract; className?: string }) {
</div> </div>
<input <input
className={clsx( className={clsx(
'input input-bordered input-md pl-10 block', 'input input-bordered input-md pl-10 block text-right',
error && 'input-error' error && 'input-error'
)} )}
style={{ maxWidth: 100 }} style={{ maxWidth: 100 }}

View File

@ -47,7 +47,7 @@ export default function ContractPage() {
<> <>
<div className="mt-12 md:mt-0 md:ml-8" /> <div className="mt-12 md:mt-0 md:ml-8" />
<Col className="w-full"> <Col className="w-full sm:w-auto sm:self-center">
<BetPanel contract={contract} /> <BetPanel contract={contract} />
{isCreator && ( {isCreator && (