Fix v9 CSS

This commit is contained in:
sladecraven 2021-12-20 10:18:28 +01:00
parent aca949ca92
commit a071a3f6cd
4 changed files with 8 additions and 4 deletions

View File

@ -276,6 +276,12 @@ async function migrationPngWebp_1_5_34() {
}); });
game.settings.set(SYSTEM_RDD, "migration-png-webp-1.5.34", true) game.settings.set(SYSTEM_RDD, "migration-png-webp-1.5.34", true)
} }
// CSS patch for v9
if (game.version) {
let sidebar = document.getElementById("sidebar");
sidebar.style.width = "min-content";
}
} }
/* -------------------------------------------- */ /* -------------------------------------------- */

File diff suppressed because one or more lines are too long

View File

@ -1062,7 +1062,6 @@ ul, li {
/* Sidebar CSS */ /* Sidebar CSS */
#sidebar { #sidebar {
font-size: 1rem; font-size: 1rem;
width:min-content;
background: rgb(105,85,65) url(img/bg_sid_dark.webp) no-repeat right bottom; background: rgb(105,85,65) url(img/bg_sid_dark.webp) no-repeat right bottom;
background-position: 100%; background-position: 100%;
color: rgba(220,220,220,0.75); color: rgba(220,220,220,0.75);

View File

@ -2,7 +2,7 @@
"name": "foundryvtt-reve-de-dragon", "name": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon", "title": "Rêve de Dragon",
"description": "Rêve de Dragon RPG for FoundryVTT", "description": "Rêve de Dragon RPG for FoundryVTT",
"version": "1.5.51", "version": "1.5.52",
"manifestPlusVersion": "1.0.0", "manifestPlusVersion": "1.0.0",
"minimumCoreVersion": "0.8.0", "minimumCoreVersion": "0.8.0",
"compatibleCoreVersion": "9", "compatibleCoreVersion": "9",