Footer : align under content area, not under the left sidebar
The footer was at outer Grid.Row=2 with no column constraint, so it spanned the full window width — visually overflowing under the 200px left sidebar. Added a 200px left margin so the footer starts where the content area starts. Comment makes the magic-number coupling explicit so it stays in sync if the sidebar width changes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -627,10 +627,14 @@
|
|||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<!-- Footer : visible uniquement quand busy / status à afficher.
|
<!-- Footer : visible uniquement quand busy / status à afficher.
|
||||||
Le bouton "Vérifier les MAJ" a été déplacé en flottant au-dessus du body. -->
|
Le bouton "Vérifier les MAJ" a été déplacé en flottant au-dessus du body.
|
||||||
|
Margin gauche = 200px = largeur de la sidebar (Grid de la Row 1) ; ainsi
|
||||||
|
le footer reste cantonné sous la zone Library/Report/Doc et ne déborde
|
||||||
|
pas sous la sidebar. Si on change la largeur de la sidebar, ajuster ici. -->
|
||||||
<Border Grid.Row="2" Background="{StaticResource Brush.Bg.Footer}"
|
<Border Grid.Row="2" Background="{StaticResource Brush.Bg.Footer}"
|
||||||
BorderBrush="{StaticResource Brush.Border}" BorderThickness="0,1,0,0"
|
BorderBrush="{StaticResource Brush.Border}" BorderThickness="0,1,0,0"
|
||||||
Padding="20,10"
|
Padding="20,10"
|
||||||
|
Margin="200,0,0,0"
|
||||||
Visibility="{Binding FooterVisibility}">
|
Visibility="{Binding FooterVisibility}">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
|
|||||||
Reference in New Issue
Block a user