Skip to content

Commit

Permalink
resources mui modal updated to daisyui tab
Browse files Browse the repository at this point in the history
  • Loading branch information
laibatool792 committed Oct 20, 2024
1 parent 16f06f0 commit 10d188f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="en" data-theme="emerald">
<html lang="en" data-theme="VPSTheme">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ function ResourcesModal({ handleClose, resources }) {
key={resource._id}
role="tab"
onClick={() => setCurrentResourceId(resource._id)}
className={`tab ${
className={`tab text-lg ${
currentResourceId === resource._id
? "tab-active text-[#035084] border-white font-bold"
? "tab-active text-[#035084] border-bottom-[#035084] border-[#035084] font-bold"
: ""
}`}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@
display: block;
margin: 0 auto;
}

.tabs tabs-bordered{
font-size:100px;
}
4 changes: 3 additions & 1 deletion frontend/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ module.exports = {
{
VPSTheme: {
primary: "#fafafa",
secondary: "#0080a7",
secondary: "#035084",
error: "#c13216",
// "base-content": "#035084",
},
},
"emerald",
Expand Down

0 comments on commit 10d188f

Please sign in to comment.