diff --git a/frontend/index.css b/frontend/index.css index 17fd694..d2d19ee 100644 --- a/frontend/index.css +++ b/frontend/index.css @@ -58,6 +58,7 @@ body div.sidebar { grid-area: sidebar; background-color: var(--yj-bg-surface, #212529); overflow: hidden; + contain: layout style paint; } .bottom-bar { @@ -67,6 +68,7 @@ body div.sidebar { display: grid; grid-template-columns: var(--now-playing-width, 200px) 1fr auto; align-items: center; + contain: layout style; #now-playing-info { justify-self: start; @@ -134,6 +136,7 @@ body div.sidebar { grid-area: main-panel; display: flex; overflow: hidden; + contain: layout style; } .main-panel { @@ -142,8 +145,10 @@ body div.sidebar { padding: 0.25em; background-color: var(--yj-bg-surface, #212529); overflow: hidden; + contain: strict; } .main-panel > * { height: 100%; + contain: layout style paint; }