Vendare / DarkHeresy2E-FoundryVTT

GNU General Public License v3.0
26 stars 53 forks source link

[Bug] CSS has side effect #194

Open Stexinator opened 2 days ago

Stexinator commented 2 days ago

grafik As can be seen here the css has some side effect.

The offending rule is

.subdirectory, .subdirectory .folder, .sidebar-tab .directory-list .entity, li.folder > .folder-header, .sidebar-tab .directory-list .folder + .entity, .sidebar-tab .directory-list .entity:last-child, .sidebar-tab .directory-list .directory-item {
    line-height: 34px;
}
Stexinator commented 2 days ago

This could be fixed by changing

.playlists-sidebar h4 {
    height: 20px;
    margin: 0;
    text-align: left;
    word-break: break-all;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

Here the height is 20px instead of the line height of 34px