Skip to content

Commit

Permalink
Run pnpm fix:prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
kachkaev committed Apr 4, 2023
1 parent ae410ab commit eb01256
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/[locale]/layout/locale-switcher-inner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function LocaleListItem({
onStopHighlighting: () => void;
}) {
return (
<li className="-mt-3 -mr-3 inline-block">
<li className="-mr-3 -mt-3 inline-block">
{href ? (
<Link
className="border-bottom-0 group relative inline-block border-none p-3"
Expand Down Expand Up @@ -122,7 +122,7 @@ export default function LocaleSwitcherInner({
}, [locale]);

return (
<div className="-mr-5 -mt-4 -mb-10 -ml-10 self-end overflow-hidden pr-5 pl-10 pt-4 pb-10 leading-3">
<div className="-mb-10 -ml-10 -mr-5 -mt-4 self-end overflow-hidden pb-10 pl-10 pr-5 pt-4 leading-3">
<ul>
{i18n.locales.map((currentLocale) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion app/[locale]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default async function Page({ params: { locale } }: PageProps) {
</p>

{/* Photo */}
<div className="float-right mt-1 ml-8 mb-8">
<div className="float-right mb-8 ml-8 mt-1">
<Image
className="overflow-hidden rounded-[5px] bg-gray-300 text-gray-300"
width={100}
Expand Down
2 changes: 1 addition & 1 deletion app/[locale]/page/key-profiles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function KeyProfile({
{name}
</a>
</h2>
<p className="mt-[1px] mb-3 opacity-60">{children ?? <>&nbsp;</>}</p>
<p className="mb-3 mt-[1px] opacity-60">{children ?? <>&nbsp;</>}</p>
</>
);
}
Expand Down
2 changes: 1 addition & 1 deletion app/[locale]/photos/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function PhotoSample({ alt }: { alt: string }) {
alt={alt}
src="https://farm8.staticflickr.com/7247/7511763574_d528f4ce04_z_d.jpg"
/>
<span className="absolute right-[1.5rem] bottom-[.5rem] h-0 w-0 origin-bottom-left -rotate-90 overflow-visible whitespace-nowrap text-sm !text-white opacity-80 shadow-md drop-shadow-md">
<span className="absolute bottom-[.5rem] right-[1.5rem] h-0 w-0 origin-bottom-left -rotate-90 overflow-visible whitespace-nowrap text-sm !text-white opacity-80 shadow-md drop-shadow-md">
kachkaev.ru/photos
</span>
<span className="absolute inset-x-0 bottom-0 block group-hover:border-t-2 group-hover:border-t-red-500" />
Expand Down
2 changes: 1 addition & 1 deletion app/[locale]/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

@layer components {
.description-on-index-page {
@apply mb-0 pt-4 pb-8;
@apply mb-0 pb-8 pt-4;
}

@media (min-width: 310px) {
Expand Down

0 comments on commit eb01256

Please sign in to comment.