Skip to content

[Bug]: scss doesn't override blueprint css #97

Open
@vorpalvorpal

Description

@vorpalvorpal

Guidelines

  • I agree to follow this project's Contributing Guidelines.

Project Version

0.20

Platform and OS Version

Windows 11

Existing Issues

No response

What happened?

It doesn't seem possible (or at least obvious) how to override a blueprint css property.

Steps to reproduce

Using shiny.blueprint within a rhino project. I edited `app/styles/main.scss to be:

// app/styles/main.scss

.bp4-tab-panel {
    margin-top: 0px;
}

and ran rhino::build_sass(). This worked correctly, however when I ran the app, the developer console showed both
margin-top: 20px; (from the default blueprint css) and margin-top: 0px; (from app/styles/main.scss), however the version from main.scss was crossed out.

Expected behavior

I expected my styling to override the default styling.

Attachments

No response

Screenshots or Videos

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions