Skip to content

Commit

Permalink
updated bookings to look at CC and styleing
Browse files Browse the repository at this point in the history
  • Loading branch information
bjerrecs committed Apr 10, 2024
1 parent 55cba7a commit e67007d
Show file tree
Hide file tree
Showing 10 changed files with 462 additions and 57 deletions.
26 changes: 26 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"astro": "^4.4.0",
"astro-tooltips": "^0.6.2",
"framer-motion": "^11.0.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
35 changes: 35 additions & 0 deletions src/components/Bookings.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
import BookingsComponent from './BookingsComponent'
---

<div class="w-full h-full max-h-[440px] overflow-y-scroll">
<BookingsComponent />
</div>

<style is:global>
* {
scrollbar-width: thin;
scrollbar-color: #919191 #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 4px;
}

*::-webkit-scrollbar-track {
background: #ffffff;
}

*::-webkit-scrollbar-thumb {
background-color: #919191;
border-radius: 4px;
border: 0px solid #ffffff;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
tr:nth-child(od) {
background-color: #fff;
}
</style>
41 changes: 0 additions & 41 deletions src/components/Bookings.tsx

This file was deleted.

Loading

0 comments on commit e67007d

Please sign in to comment.