Skip to content

Commit

Permalink
column border color
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalmi committed Dec 2, 2023
1 parent 9f6ca8e commit 052d3b0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
8 changes: 2 additions & 6 deletions packages/app/src/Element/SearchBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,7 @@ export default function SearchBox() {
ref={resultListRef}>
<div
className={`p-2 cursor-pointer ${
activeIndex === 0
? "bg-bg-secondary"
: "bg-bg-color hover:bg-bg-secondary"
activeIndex === 0 ? "bg-bg-secondary" : "bg-bg-color hover:bg-bg-secondary"
}`}
onMouseEnter={() => setActiveIndex(0)}
onClick={() => navigate(`/search/${encodeURIComponent(search)}`, { state: { forceRefresh: true } })}>
Expand All @@ -181,9 +179,7 @@ export default function SearchBox() {
<div
key={idx}
className={`p-2 cursor-pointer ${
activeIndex === idx + 1
? "bg-bg-secondary"
: "bg-bg-color hover:bg-bg-secondary"
activeIndex === idx + 1 ? "bg-bg-secondary" : "bg-bg-color hover:bg-bg-secondary"
}`}
onMouseEnter={() => setActiveIndex(idx + 1)}>
<ProfileImage pubkey={result.pubkey} showProfileCard={false} />
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/Pages/Layout/NavSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function NavSidebar({ narrow = false }) {

const className = classNames(
{ "xl:w-56 xl:gap-3 xl:items-start": !narrow },
"overflow-y-auto hide-scrollbar sticky items-center border-r border-neutral-900 top-0 z-20 h-screen max-h-screen hidden md:flex flex-col px-2 py-4 flex-shrink-0 gap-2",
"overflow-y-auto hide-scrollbar sticky items-center border-r border-border-color top-0 z-20 h-screen max-h-screen hidden md:flex flex-col px-2 py-4 flex-shrink-0 gap-2",
);

const readOnlyIcon = readonly && (
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/Pages/Layout/RightColumn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function RightColumn() {
const show = !hideRightColumnPaths.some(path => location.pathname.startsWith(path));
return (
<div
className={classNames("flex-col hidden lg:w-1/3 sticky top-0 h-screen py-3 px-4 border-l border-neutral-900", {
className={classNames("flex-col hidden lg:w-1/3 sticky top-0 h-screen py-3 px-4 border-l border-border-color", {
"lg:flex": show,
})}>
<div>
Expand Down
3 changes: 0 additions & 3 deletions packages/app/src/Pages/Profile/ProfilePage.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
display: flex;
flex-direction: column;
align-items: flex-start;
border: 1px solid var(--border-color);
border-bottom: none;
border-top: none;
}

.profile .banner {
Expand Down

0 comments on commit 052d3b0

Please sign in to comment.