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

docs(virtual-scroll-box): virtual-scroll-box doc adapt dark theme #2997

Merged
merged 1 commit into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const colStyle = ({ viewRow, viewCol }) => {
.vs-cell {
display: table-cell;
font-size: 12px;
background-color: white;
background-color: var(--docs-color-bg);

Choose a reason for hiding this comment

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

Ensure that var(--docs-color-bg) is defined in the theme variables to avoid potential issues with undefined variables in different themes.

background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0 100%),
linear-gradient(180deg, rgba(0, 0, 0, 0.2) 1px 100%);
background-position:
Expand Down
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/virtual-scroll-box/table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default {
.vs-cell {
display: table-cell;
font-size: 12px;
background-color: white;
background-color: var(--docs-color-bg);

Choose a reason for hiding this comment

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

Ensure that var(--docs-color-bg) is defined in the theme variables to avoid potential issues with undefined variables in different themes.

background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0 100%),
linear-gradient(180deg, rgba(0, 0, 0, 0.2) 1px 100%);
background-position:
Expand Down
Loading