Skip to content

wexin-preset button base存在不兼容的情况 #40

@JinhuaSu

Description

@JinhuaSu

生成的my-ui 使用wexin-preset build得到的my-ui/css/components/button/base.css

/* radio input and checkbox as button */
:where(.btn:is(input[type=checkbox])),:where(.btn:is(input[type=radio])) {
width: auto;
appearance: none
}

微信是不兼容的,app.wxss会识别[]选择器错误,注释掉问题解决

经查看,可能是在这一块修改代码逻辑,目前没时间,先抛出issue,有空看看能否贡献一下
https://github.com/sonofmagic/icestack/blob/main/presets/preset-weapp/src/components/button.ts

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