Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix overlapping disclaimer text in Profiles' Defaults section #16602

Merged
merged 1 commit into from Jan 25, 2024

Conversation

tusharsnx
Copy link
Contributor

Fix overlapping disclaimer text in Profiles' Defaults section

While removing ScrollViewer from the subpages in the settings UI, the main Grid child element order was not preserved and as a result, the disclaimer text overlapped with the main content on the page.

To fix that we now apply (the lost) Grid.Row property on the parent StackPanel of the main content.

Screenshot 2024-01-25 194231

Validation Steps Performed

  • Disclaimer text does not overlap.

PR Checklist

  • Tests added/passed

<!-- Control Preview -->
<Border MaxWidth="{StaticResource StandardControlMaxWidth}">
<Border x:Name="ControlPreview"
Width="400"
Height="180"
Margin="0,0,0,12"
Margin="0,12,0,12"
Copy link
Contributor Author

@tusharsnx tusharsnx Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The live profile demo container had an inconsistent gap in the top and bottom. (Too close to disclaimer text, too far from the main content)

To fix that I applied the same amount of margin on both the top and bottom. Lmk if this is not what we want to do.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

THANK YOU

@DHowett DHowett merged commit e75a4be into microsoft:main Jan 25, 2024
15 checks passed
@tusharsnx tusharsnx deleted the fix-profile-disclaimer-overlap branch January 26, 2024 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants