Skip to content
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

v0.0.7 #12

Merged
merged 1 commit into from
Jun 16, 2021
Merged
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
8 changes: 4 additions & 4 deletions client/src/components/timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const Timeline = () => {
setdata([])
}

console.log(cinfos)
// console.log(cinfos)

const results = nums.reduce((prevPrms, num) => (
prevPrms.then(async prevRes => {
Expand Down Expand Up @@ -98,8 +98,8 @@ const Timeline = () => {
console.log('change')

if (yearval !== '0') {
console.log(data)
console.log(cInfo)
// console.log(data)
// console.log(cInfo)
setselected(true)
if (data.length > 0) {
let tempitem = [];
Expand Down Expand Up @@ -172,7 +172,7 @@ const Timeline = () => {
<div className="chrono-icons">
{
items.map((v) => {
return (<div className="timelinebutton " onClick={() => console.log('clicked')}>{v.date.substring(5, 7)}</div>)
return (<div className="timelinebutton ">{v.date.substring(5, 7)}</div>)
})
}

Expand Down
13 changes: 5 additions & 8 deletions client/src/style/timeline.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
box-shadow: none !important;

}
.css-eh4k5x-TimelineMainWrapper.horizontal {
.e1gmwefz4 {
height: 10rem !important;
}

.css-8myp9a-TimelineNavButton {
.e1fht2ox4 {
width: 10vmax !important;
border-radius: 0% !important;
box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
Expand Down Expand Up @@ -112,16 +112,13 @@

}

.css-q2kzzt-Circle.active.using-icon {
border-color: brown;
}

.css-7xkfgz-TitleWrapper.active{
.ergoa4r0.active{
transition: color 0.3s ease-in-out;
color: white !important;
background-color: rgb(0, 87, 250) !important;
}
.css-7xkfgz-TitleWrapper.active::after{
.ergoa4r0.active::after{

content: '';
position: absolute;
Expand Down Expand Up @@ -208,7 +205,7 @@
}


.css-q2kzzt-Circle.active.using-icon{
.e5foh872.active.using-icon{
transition: background-color 0.2s ease-in;
color: white;
background-color: rgb(0, 87, 250);
Expand Down