Skip to content

Scrollbar style is incorrect #14085

Closed
Closed
@TCOTC

Description

@TCOTC

修复动态滚动条样式

如果在选择器的链或组中有一个无效的伪类,那么整个选择器列表都是无效的。

df0c1fa 的修改把样式改坏了:

Image

Image

AI 说可以像这样改:

@mixin slider-thumb-style {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: var(--b3-border-radius-b);
    cursor: pointer;
    background-color: var(--b3-theme-primary);
    margin-top: -4px;
    box-shadow: var(--b3-point-shadow);
    transition: transform 100ms ease-out;
}

.b3-slider::-moz-range-thumb {
    @include slider-thumb-style;
}

.b3-slider::-webkit-slider-thumb {
    @include slider-thumb-style;
}

Activity

changed the title [-]修复动态滚动条样式[/-] [+]Block scrollbar style is incorrect[/+] on Feb 14, 2025
modified the milestones: 3.2.0, 3.1.23 on Feb 14, 2025
added a commit that references this issue on Feb 14, 2025
changed the title [-]Block scrollbar style is incorrect[/-] [+]Scrollbar style is incorrect[/+] on Feb 17, 2025
added a commit that references this issue on Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219@TCOTC

      Issue actions

        Scrollbar style is incorrect · Issue #14085 · siyuan-note/siyuan