Skip to content

Update button and navigation styles #16433

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

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 2 additions & 2 deletions components/dashboard/src/components/PillMenuItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ export default function PillMenuItem(p: {
onClick?: (event: React.MouseEvent) => void;
}) {
let classes =
"flex block font-medium dark:text-gray-400 px-3 py-1 rounded-2xl transition ease-in-out font-semibold " +
"flex block font-medium dark:text-gray-400 px-3 py-1 rounded-2xl transition ease-in-out " +
(p.selected
? "text-gray-50 bg-gray-800 dark:text-gray-900 dark:bg-gray-50"
? "text-gray-500 bg-gray-50 dark:text-gray-100 dark:bg-gray-700"
: "hover:bg-gray-100 dark:hover:bg-gray-700");
if (p.additionalClasses) {
classes = classes + " " + p.additionalClasses;
Expand Down
4 changes: 2 additions & 2 deletions components/dashboard/src/menu/OrganizationSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ export default function OrganizationSelector(p: OrganizationSelectorProps) {

const selectedTitle = currentOrg?.data ? currentOrg.data.name : userFullName;
const classes =
"flex h-full text-base py-0 text-gray-500 bg-gray-50 dark:bg-gray-800 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 dark:border-gray-700";
"flex h-full text-base py-0 text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700";
return (
<ContextMenu customClasses="w-64 left-0" menuEntries={entries}>
<div className={`${classes} rounded-2xl pl-1`}>
<div className="py-1 pr-1 flex font-semibold whitespace-nowrap max-w-xs overflow-hidden">
<div className="py-1 pr-1 flex font-medium whitespace-nowrap max-w-xs overflow-hidden">
<OrgIcon
id={currentOrg?.data?.id || user?.id || "empty"}
name={selectedTitle}
Expand Down