Skip to content

Commit

Permalink
fix(styles): update proposal page style
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidroohi92 committed Sep 14, 2024
1 parent 991ba0e commit 5388b34
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion components/nav/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const Navbar: React.FC = () => {
Aragonette
</span> */}
</Link>
<div className="flex items-center gap-x-2">
<div className="z-20 flex items-center gap-x-2">
<div className="shrink-0">
<WalletContainer />
</div>
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
"prepare": "husky"
},
"lint-staged": {
"*.{js, jsx,ts,tsx}": [
"eslint --quiet --fix"
],
"*.{json,js,ts,jsx,tsx,html}": [
"prettier --write --ignore-unknown"
]
Expand Down
15 changes: 10 additions & 5 deletions plugins/tokenVoting/pages/new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ export default function Create() {
return (
<section className="flex w-screen min-w-full max-w-full flex-col items-center">
<div className="w-full justify-between py-5">
<h1 className="mb-10 text-3xl font-semibold text-neutral-900">Create Proposal</h1>
<h1 className="mb-10 text-3xl font-semibold text-[#fff]">Create Proposal</h1>
<div className="mb-6">
<InputText
className=""
className="text-[#000]"
label="Title"
maxLength={100}
placeholder="A short title that describes the main purpose"
Expand All @@ -152,7 +152,7 @@ export default function Create() {
<div className="mb-6">
<TextAreaRichText
label="Summary"
className="pt-2"
className="pt-2 text-[#000]"
value={summary}
onChange={setSummary}
placeholder="A description for what the proposal is all about"
Expand Down Expand Up @@ -226,7 +226,12 @@ export default function Create() {
</div>
</Then>
<ElseIf condition={actionType !== ActionType.Custom}>
<Button className="mb-6 mt-14" size="lg" variant="primary" onClick={() => submitProposal()}>
<Button
className="mb-6 mt-14 border-[1px] !border-[#fff] bg-transparent duration-300 hover:!bg-[#fff] hover:!text-[#000]"
size="lg"
variant="primary"
onClick={() => submitProposal()}
>
Submit proposal
</Button>
</ElseIf>
Expand All @@ -248,7 +253,7 @@ export default function Create() {
</Else>
</If>
<Button
className="mt-3"
className="mt-3 border-[1px] border-[#fff] bg-transparent duration-300 hover:bg-[#fff] hover:text-[#000]"
size="lg"
variant="primary"
disabled={!actions.length}
Expand Down

0 comments on commit 5388b34

Please sign in to comment.