-
-
Notifications
You must be signed in to change notification settings - Fork 331
feat(Layout): add style for tab context menu #5735
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
Conversation
Reviewer's Guide by SourceryThis pull request focuses on improving the styling of the layout and tabs components. The changes include fixing a syntax issue, adjusting the layout's main section, and moving tab styling from the Updated class diagram for Layout and Tab componentsclassDiagram
class Layout {
--bb-layout-header-background
--bb-layout-header-border-color
--bb-layout-banner-border-color
--bb-layout-sider-background
--bb-layout-footer-background
--bb-layout-footer-border-color
--bb-layout-header-height
--bb-layout-footer-height
--bb-layout-sider-width
--bb-layout-height
layout-main
}
note for Layout "Styling adjusted for .tabs and .bb-cm-zone > .tabs within layout-main"
class Tab {
--bb-tabs-item-padding
--bb-tabs-item-height
--bb-tabs-item-active-color
--bb-tabs-item-hover-background
--bb-tabs-item-border-color
--bb-tabs-item-active-border-color
--bb-tabs-item-font-size
--bb-tabs-item-border-radius
--bb-tabs-dropdown-item-padding
--bb-tabs-dropdown-item-height
--bb-tabs-dropdown-item-hover-background
--bb-tabs-dropdown-item-active-background
--bb-tabs-dropdown-item-active-color
--bb-tabs-dropdown-item-font-size
--bb-tabs-dropdown-menu-border-color
--bb-tabs-dropdown-menu-background
--bb-tabs-dropdown-menu-box-shadow
--bb-tabs-dropdown-menu-border-radius
--bb-tabs-border-color
--bb-tabs-background
--bb-tabs-border-radius
--bb-tabs-card-header-border-color
--bb-tabs-card-header-background
--bb-tabs-card-header-border-radius
--bb-tabs-card-body-border-color
--bb-tabs-card-body-background
--bb-tabs-card-body-border-radius
}
note for Tab "Redundant tab styling removed from Tab.razor.scss"
File-Level Changes
Assessment against linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @ArgoZhang - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider if the BOM character fix should be a separate commit.
- Moving the tab styling seems like a good change to keep concerns separated.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5735 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 657 657
Lines 29877 29877
Branches 4237 4237
=========================================
Hits 29877 29877 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Link issues
fixes #5734
Summary By Copilot
This pull request includes changes to the
Layout.razor.scss
andTab.razor.scss
files to improve the styling of the layout and tabs components. The most important changes include fixing a syntax issue, adjusting the layout's main section, and moving tab styling from theTab.razor.scss
file to theLayout.razor.scss
file.Styling improvements:
src/BootstrapBlazor/Components/Layout/Layout.razor.scss
: Fixed a syntax issue by removing a BOM character at the beginning of the file.src/BootstrapBlazor/Components/Layout/Layout.razor.scss
: Adjusted thelayout-main
section to include new styles for.tabs
and.bb-cm-zone > .tabs
, improving their appearance and layout.File restructuring:
src/BootstrapBlazor/Components/Tab/Tab.razor.scss
: Removed redundant tab styling that was moved toLayout.razor.scss
to ensure a cleaner and more maintainable codebase.Regression?
Risk
Verification
Packaging changes reviewed?
☑️ Self Check before Merge
Summary by Sourcery
Improve tab context menu styling and layout by consolidating styles and adjusting layout main section
Bug Fixes:
Enhancements: