Darakah / obsidian-timelines

Create a timeline view of all notes with the specified combination of tags
MIT License
353 stars 34 forks source link

Please adapt to the mobile phone #24

Open Tylerrrrrrr007 opened 2 years ago

Tylerrrrrrr007 commented 2 years ago

In the vertical timeline, only a few letters per line can be seen on the mobile. The cards add up to less than half the width of the phone.

Tylerrrrrrr007 commented 2 years ago

be like

.timeline-container {
padding: 10px 40px;
position: relative;
background-color: inherit;
width: 50%;
}

to

.timeline-container {
padding: 10px 3.3%;
position: relative;
background-color: inherit;
width: 50%;
}
Tylerrrrrrr007 commented 2 years ago

and another request: vis-timeline——when I added a new css class, the selected color is yellow or not change

.vis-item.love {
    background-color: violet;
    border-color: plum;
}

so I have to add

.vis-item.vis-selected.love {
    background-color: violet;
    border-color: plum;
    filter: brightness(1.5);
}

And everytime I add a new css class, I have to duplicate it again. It's redundant. Can you change the default selected color, plz? Or how can I do to make it easy?