Skip to content

Commit

Permalink
styles: improve responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
allbertuu committed Dec 5, 2023
1 parent d2b0d03 commit a90c007
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/PostHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const PostHeader: React.FC = () => {
<div className="rounded-xl bg-blue-600 px-6 py-8 text-blue-50 shadow-lg shadow-black/20 sm:px-10">
{post && (
<>
<div className="flex justify-between">
<div className="flex justify-between flex-wrap gap-2">
<Link
showIcon
iconSide="left"
Expand Down
2 changes: 1 addition & 1 deletion src/components/github/Avatar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Avatar: FunctionComponent<AvatarProps> = ({ imageUrl }) => {
// TODO: inserir uma imagem de fallback
src={imageUrl || ''}
alt="Foto de perfil do GitHub"
className="mx-auto w-full max-w-[7.8125rem] cursor-pointer rounded-xl"
className="mx-auto w-3/4 sm:max-w-[7.8125rem] cursor-pointer rounded-xl"
width={460}
height={460}
onClick={() => handleImageClick()}
Expand Down
4 changes: 2 additions & 2 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
@apply border-[0.25rem] border-blue-500 bg-red-500/90;
}

@media (max-width: 360px) {
@media (max-width: 370px) {
html {
font-size: 80%;
font-size: 90%;
}
}

Expand Down

1 comment on commit a90c007

@vercel
Copy link

@vercel vercel bot commented on a90c007 Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog-do-alberto – ./

blog-do-alberto-allbertuu.vercel.app
blog-do-alberto.vercel.app
blog-do-alberto-git-main-allbertuu.vercel.app

Please sign in to comment.