Skip to content

Commit f4fa600

Browse files
committed
feat: update search page layout for responsive behavior on different screen size; refs #51
1 parent f462101 commit f4fa600

File tree

2 files changed

+317
-16
lines changed

2 files changed

+317
-16
lines changed

src/pages/DatabasePage.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ const DatabasePage: React.FC = () => {
7272
padding: 3,
7373
textTransform: "none",
7474
fontWeight: 600,
75-
backgroundColor: "transparent",
76-
border: `1px solid ${Colors.lightGray}`,
75+
borderColor: Colors.lightGray,
7776
color: Colors.lightGray,
7877
borderRadius: 2,
7978
transition: "all 0.3s ease",
@@ -82,11 +81,10 @@ const DatabasePage: React.FC = () => {
8281
flexDirection: "column",
8382
justifyContent: "center",
8483
"&:hover": {
85-
backgroundColor: Colors.green,
86-
color: Colors.darkPurple,
84+
borderColor: Colors.lightGray,
85+
backgroundColor: Colors.secondaryPurple,
8786
transform: "translateY(-2px)",
8887
boxShadow: 3,
89-
border: `1px solid ${Colors.green}`,
9088
},
9189
}}
9290
onClick={() => navigate(`/databases/${db.id}`)}

0 commit comments

Comments
 (0)