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: radius consistency #634

Merged
merged 1 commit into from
Apr 24, 2022
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
8 changes: 4 additions & 4 deletions chess-centre-app/src/components/Navigation/ProfileDropDown.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ export default function ProfileDropDown(props) {
{({ open }) => (
<>
<div>
<Menu.Button className="inline-flex justify-center w-full rounded-full border border-teal-600 shadow-sm bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-teal-500">
<Menu.Button className="inline-flex justify-center w-full rounded-lg border-2 border-teal-500 shadow-sm bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-teal-500">
{avatarUrl ? (
<img
className="rounded-full h-8 w-8"
className="rounded-md h-8 w-8"
src={avatarUrl}
alt="Avatar"
/>
) : (
<span className="inline-block relative h-8 w-8 rounded-full">
<span className="inline-block relative h-8 w-8 rounded-lg">
<svg
className="h-full w-full text-gray-300 rounded-full"
className="h-full w-full text-gray-300 rounded-lg"
fill="currentColor"
viewBox="0 0 24 24"
>
Expand Down
2 changes: 1 addition & 1 deletion chess-centre-app/src/components/Table/GameTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default function GameTable({ games, memberId }) {
<button
onClick={() => showModal(pgn, liChessUrl)}
type="button"
className="inline-flex items-center px-2.5 py-1 border border-transparent rounded-md text-white bg-teal-600 hover:bg-teal-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-teal-500"
className="inline-flex items-center px-2 py-1.5 border border-transparent rounded-md text-white bg-teal-600 hover:bg-teal-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-teal-500"
>
<i className="fas fa-chess-king"></i>
</button>
Expand Down
5 changes: 4 additions & 1 deletion chess-centre-app/src/pages/App/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ export default function AppCalendar() {
</p>
</div>
</div>
<Calendar />
<div className="mb-6">
<Calendar />
</div>

</div>
);
}