Skip to content

Instantly share code, notes, and snippets.

@Benature
Created February 23, 2024 06:28
Show Gist options
  • Save Benature/36ae4ec61ca57e64c4613d8a15fe0fd9 to your computer and use it in GitHub Desktop.
Save Benature/36ae4ec61ca57e64c4613d8a15fe0fd9 to your computer and use it in GitHub Desktop.
CSS which is used for Plugin "Toggl Track" in Obsidian.app (refer to https://github.com/mcndt/obsidian-toggl-integration/issues/63#issuecomment-1958771378)
.block-language-toggl h3 {
margin-bottom: 0px;
}
.block-language-toggl {
font-size: 14px;
}
.block-language-toggl:first-child .container {
min-height: 230px;
align-items: center;
}
.block-language-toggl:first-child
.container
> div
> .is-flex-grow-2 {
display: none;
}
.block-language-toggl:first-child
.container
> div.is-flex {
position: absolute !important;
/* transform: translateY(-10px); */
width: 500px;
}
.block-language-toggl:first-child
.container
.time-entry-list {
margin-left: 230px;
}
.block-language-toggl .group-item-time {
font-family: monospace;
}
@Benature
Copy link
Author

@cycle-space Hi, the screenshot of the monthly summary is below
image

The CSS works fine in my Obsidian, with Toggl Track v0.11.0.

To have a quick check in your Obsidian, you can create a new vault and add the snippet to have a test. btw, don't forget to enable this CSS snippet. :)

@cycle-space
Copy link

@cycle-space Hi, the screenshot of the monthly summary is below image

The CSS works fine in my Obsidian, with Toggl Track v0.11.0.

To have a quick check in your Obsidian, you can create a new vault and add the snippet to have a test. btw, don't forget to enable this CSS snippet. :)

Thanks a lot for your help, it works! And thanks for your nice work again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment