Skip to content

Commit bddedf2

Browse files
committed
ui fixes
1 parent b064f0c commit bddedf2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

MyApp.Client/src/App.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ function App() {
4949
<div className="mb-8 flex items-center space-x-4">
5050
{user
5151
? (<>
52-
<Link to="/profile"
53-
className="max-w-xs rounded-full flex items-center text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 lg:p-2 lg:rounded-md lg:hover:bg-gray-50 dark:lg:hover:bg-gray-900 dark:ring-offset-black"
54-
id="user-menu-button" aria-expanded="false" aria-haspopup="true">
52+
<Link to="/profile" className="max-w-xs rounded-full flex items-center text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 lg:p-2 lg:rounded-md lg:hover:bg-gray-50 dark:lg:hover:bg-gray-900 dark:ring-offset-black"
53+
id="user-menu-button" aria-expanded="false" aria-haspopup="true">
5554
<img className="h-8 w-8 rounded-full" src={user.profileUrl} alt="User Profile"/>
5655
<span className="hidden ml-3 text-gray-700 dark:text-gray-300 text-sm font-medium lg:block">
5756
{user.userName}

MyApp.Client/src/components/Page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const Page: FC<Props> = ({ title, className, bodyClass, children }) => {
1212
<>
1313
<div className="min-h-screen">
1414
<main>
15-
<div className={`max-w-7xl mx-auto px-5 ${className ?? ''}`}>
16-
<div className={bodyClass ?? 'max-w-5xl'}>
15+
<div className={`px-5 ${className ?? ''}`}>
16+
<div className={bodyClass ?? ''}>
1717
<h1 className="text-center text-4xl font-bold my-8 text-gray-900 dark:text-gray-100">{title}</h1>
1818
{children}
1919
</div>

0 commit comments

Comments
 (0)