SlRvb / Obsidian--ITS-Theme

Theme designed with readability and customizability in mind. Change it easily to your liking with the Style Settings plugin installed.
https://publish.obsidian.md/slrvb-docs/ITS+Theme/ITS+Theme
GNU General Public License v2.0
521 stars 113 forks source link

[Bug] The height of the top bar changes without reason #230

Closed Borber closed 11 months ago

Borber commented 11 months ago

Describe the bug

Normal state after several restarts:

Snipaste_2023-07-24_09-08-14

At this time, there is a certain distance between the tab and the top, and the height of the minimize, maximize, and close buttons is also consistent with the top bar

Once a new tab is added or the tab is switched, the top bar will be several px shorter,

Snipaste_2023-07-24_09-08-39

Minimize, maximize, close buttons also exceed the height of the top bar,

Snipaste_2023-07-24_09-09-00

The tab style in the picture is changed by myself, but even if all the custom css is cancelled, there are still related phenomena, hope to fix it

css written by myself:

.mod-root .workspace-tab-header-container-inner {
    margin-top: 2px;
}

.workspace-tab-header:hover {
    background-color: var(--accent);
}

.workspace .mod-root .workspace-tab-header {
    border: 0.12em solid var(--inactive);
    box-shadow: 3px 3px var(--outline);
    height: 85%;
}

.workspace .mod-root .workspace-tab-header.is-active {
    border: 0.18em solid var(--interactive-accent);
}

.workspace .mod-root .workspace-tab-header:not(:last-child) {
    margin-right: 3px;
}

OS

Where does the bug occur?

Versions

SlRvb commented 11 months ago

This should be fixed in ITS v1.0.81