futursolo / stylist-rs

A CSS-in-Rust styling solution for WebAssembly Applications
https://crates.io/crates/stylist
MIT License
370 stars 22 forks source link

Slashes in css seem not allowed #39

Closed Madoshakalaka closed 2 years ago

Madoshakalaka commented 2 years ago
    let css = stylist::css!("grid-row: 3 / span 4";);
    let css = stylist::css!("grid-row: 3/ span 4";);
    let css = stylist::css!("grid-row: 3/span4";);

all three lines being valid css, fail to compile.

futursolo commented 2 years ago

Thank you for the report.

This is also related to comment handling where comment is not handled properly. We need to get #38 landed first before addressing this issue.