Jonius7 / SteamUI-OldGlory

A set of customisable Steam Library tweaks, with an installer. Also a reference that you can use to learn how to make your own tweaks.
https://jonius7.github.io
Apache License 2.0
253 stars 5 forks source link

Side fade effect game art cutoff too soon #81

Closed AtomicTEM closed 5 months ago

AtomicTEM commented 1 year ago

image the fade cutsoff to soon

Sidenote, in comparison to vanilla Old Glory cut off game art at the bottom too soon, for example for the Team Fortress 2 game art you are supposed to see the heavy's minigun but you can't with Old Glory.

Jonius7 commented 1 year ago

Are you wanting the default header size? OldGlory has the header shorter than default

TheRealZGYT commented 1 year ago

Might have something to do with margin-bottom being 13px. The white-ish filter doesn't move with the bottom margin and it makes it look that way.

The linked image is how it looks with margin-bottom: 0px which was change with a custom module

steam_Rr7tOLPSV4

This is the Custom module I'm using to fix it for now, was trying to figure out how to make the hero banner bigger at first but couldn't.

/* Custom CSS (module 1)
   ========================================================================== */

   // Add Custom CSS here (module 1)

.sharedappdetailsheader_TopCapsule_2meE3.sharedappdetailsheader_TopCapsule_2meE3 {
  max-height: 230px;
}

.appdetails_Header_2gZXh.appdetails_HeaderLoaded_tXlLv {
  min-height: 230px;
  margin-bottom: 0px;
}   

/* ========================================================================== 
   END Custom CSS (module 1) */
Jonius7 commented 1 year ago

If you want the vanilla layout you can also just go into CSS Options -> CSS Secctions and untick gamepage_header then Install.