Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor style fixes #6

Merged
merged 1 commit into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions components/ui/MyInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ function MyInfo() {
Dados Pessoais
</h2>
<div class="flex flex-wrap gap-[4%] w-full">
<label class="form-control w-[48%]">
<label class="form-control w-full sm:w-[48%]">
<div class="label pb-1">
<span class="label-text text-xs text-[#585858]">
Nome
Expand All @@ -266,7 +266,7 @@ function MyInfo() {
value={name}
/>
</label>
<label class="w-[48%]">
<label class="w-full sm:w-[48%]">
<div class="label pb-1">
<span class="label-text text-xs text-[#585858]">CPF</span>
</div>
Expand Down Expand Up @@ -321,7 +321,7 @@ function MyInfo() {
addressStreet !== "" ? "" : "hidden"
}`}
>
<label class="w-[32%]">
<label class="w-full sm:w-[32%]">
<div class="label pb-1">
<span class="label-text text-xs text-[#585858]">
Logradouro
Expand All @@ -335,7 +335,7 @@ function MyInfo() {
value={addressStreet}
/>
</label>
<label class="w-[32%]">
<label class="w-full sm:w-[32%]">
<div class="label pb-1">
<span class="label-text text-xs text-[#585858]">
Número*
Expand All @@ -351,7 +351,7 @@ function MyInfo() {
}}
/>
</label>
<label class="w-[32%]">
<label class="w-full sm:w-[32%]">
<div class="label pb-1">
<span class="label-text text-xs text-[#585858]">
Complemento (casa, ap, etc)
Expand All @@ -367,7 +367,7 @@ function MyInfo() {
}}
/>
</label>
<label class="w-[32%]">
<label class="w-full sm:w-[32%]">
<div class="label pb-1">
<span class="label-text text-xs text-[#585858]">
Bairro - cidade/uf
Expand Down Expand Up @@ -430,7 +430,7 @@ function MyInfo() {
{cids.map((c, index) => {
const cid = c as { full_code: string; name: string };
return (
<div class="badge badge-secondary text-white gap-2 p-3 my-2">
<div class="badge badge-secondary text-white gap-2 p-3 my-2 ">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
Expand All @@ -450,7 +450,9 @@ function MyInfo() {
>
</path>
</svg>
{cid.full_code} - {cid.name}
<span class="text-[10px] sm:text-sm truncate">
{cid.full_code} - {cid.name}
</span>
</div>
);
})}
Expand Down
2 changes: 1 addition & 1 deletion components/ui/PageWrap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function PageWrap(props: Props) {

return (
<div class="flex justify-center">
<div class="rounded-xl bg-[#ededed] shadow-md p-14 max-w-[800px]">
<div class="rounded-xl bg-[#ededed] shadow-md p-14 w-[90%] sm:max-w-[800px]">
<div class="flex flex-col items-center">
{children}
</div>
Expand Down
Loading