Skip to content

blockquote styles prevents quote text selection #1317

Open
@FlyingDR

Description

@FlyingDR

&.note,
&:has(details.legacy) {
&::before {
content: '';
display: block;
width: 2em;
height: 2em;
top: 0.05em;
background: var(--sk-fg-accent);
mask: url(icons/lightbulb) no-repeat 0.5rem 0 / 2.6rem;
}
}

Current style for the <blockquote> element define note icon as an element with the size, much larger than the icon itself. It causes icon to cover next of the element, effectively preventing ability to select it from the start:

Image

Add of the pointer-events: none style to blockquote.note::before fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions