-
Notifications
You must be signed in to change notification settings - Fork 2
P0080 clean #510
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
P0080 clean #510
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,16 +14,14 @@ | |
| .mat-mdc-header-row { | ||
| .mat-mdc-header-cell { | ||
| font-weight: 600; | ||
| font-size: 12px; | ||
| color: var(--color-table-head) !important; | ||
| border-bottom-color: var(--color-table-head-border) !important; | ||
| } | ||
| } | ||
|
|
||
| .mat-mdc-row { | ||
| .mat-mdc-cell { | ||
| border-bottom-color: var(--color-table-cell-border) !important; | ||
| } | ||
| // .mat-mdc-cell { | ||
| // border-bottom-color: var(--color-table-cell-border) !important; | ||
| // } | ||
|
Comment on lines
+22
to
+24
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of commenting out CSS rules that are no longer needed, it would be better to remove them completely. Commented code adds maintenance burden and can cause confusion for other developers. If these styles need to be referenced later, they can be found in version control history. |
||
|
|
||
| &.highlight { | ||
| background-color: var(--color-common-bg-lighter); | ||
|
|
@@ -105,7 +103,7 @@ | |
| height: auto !important; | ||
| width: 100%; | ||
| padding: 8px 16px !important; | ||
| border-bottom: 1px solid var(--color-table-cell-border) !important; | ||
| // border-bottom: 1px solid var(--color-table-cell-border) !important; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similarly here, if the border-bottom style is no longer needed, it should be removed rather than commented out. |
||
| box-sizing: border-box; | ||
| font-size: 13px; | ||
| word-break: break-word; | ||
|
|
||
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.
The dark mode toggle has been moved to the user menu, which improves the UI. However, the function call has changed from
switchedDarkMode($event.checked)toswitchedDarkMode(!isDarkMode()). Make sure the function can handle a direct boolean parameter instead of an event object.