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

style: my profiles page responsiveness #512

Merged
merged 1 commit into from
Mar 23, 2023
Merged
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
6 changes: 3 additions & 3 deletions apps/app/pages/[workspaceSlug]/me/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const Profile: NextPage = () => {
{myProfile ? (
<>
<div className="space-y-5">
<section className="relative flex gap-10 rounded-xl bg-secondary p-5">
<section className="relative flex flex-col gap-y-6 gap-x-10 rounded-xl bg-secondary p-5 md:flex-row">
<button
type="button"
className="absolute top-4 right-4 cursor-pointer rounded bg-indigo-100 p-1 duration-300 hover:bg-theme hover:text-white"
Expand All @@ -187,7 +187,7 @@ const Profile: NextPage = () => {
<div className="flex-shrink-0">
<div className="space-y-4">
<div className="relative">
<span className="inline-block h-40 w-40 overflow-hidden rounded bg-gray-100">
<div className="inline-block h-40 w-40 overflow-hidden rounded bg-gray-100">
{!watch("avatar") || watch("avatar") === "" ? (
<UserIcon className="h-full w-full text-gray-300" />
) : (
Expand All @@ -202,7 +202,7 @@ const Profile: NextPage = () => {
/>
</div>
)}
</span>
</div>
</div>
<p className="text-sm text-gray-500">
Max file size is 5MB.
Expand Down