Skip to content

样式冲突 [class*=handle-]:before #426

@LMGO

Description

@LMGO

`

<style lang="scss"> // 此组件样式,只有全局时可生效,但存在部分问题,已知问题为:覆盖了全局的before,依赖这部分元素的点击等交互,可能会存在偏差 // @media only screen and (max-width: 768px) {[class*= handle- ]:before, 当样式中包含“handle-”时,会存在问题 @import 'vue-draggable-resizable/style.css'; </style>

`

@media only screen and (max-width: 768px) {[class*= handle- ]:before { content: ""; left: -10px; right: -10px; bottom: -10px; top: -10px; position: absolute; }

此样式容易和其他第三方库,存在冲突覆盖,引发一些异常

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions