fix(layout): account for repo tab bar in loading overlay
Adjust the fixed loading overlay to avoid overlapping the repo tab bar. The top offset now adds the app titlebar and repo tabbar heights using CSS calc with reasonable fallbacks. This keeps the overlay aligned with top UI elements when a repository tab bar is present. - Offset top by titlebar plus repo tabbar heights via CSS calc. - Provide sensible fallback values to maintain stable layout.
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
<style>
|
<style>
|
||||||
.repo-loading {
|
.repo-loading {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: var(--app-titlebar-height, 42px);
|
top: calc(var(--app-titlebar-height, 40px) + var(--app-repo-tabbar-height, 36px));
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user