-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: comment view styling #7965
fix: comment view styling #7965
Conversation
@@ -759,22 +758,18 @@ css.register(` | |||
.blocklyDeleteIcon { | |||
width: 20px; | |||
height: 20px; | |||
display: none; | |||
fill: var(--commentIconColour); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should work fine, I think the problem is that you're overriding this because the actual svg has "fill" as an inline attribute.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope I tried that! <image>
tags basically work like <img>
tags, meaning you can't style their contents.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, that's annoying and I hate all of the weird tricks to make it work :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah it sucks, I also tried using <use>
tags instead, but those just don't show up at all.
@@ -759,22 +758,18 @@ css.register(` | |||
.blocklyDeleteIcon { | |||
width: 20px; | |||
height: 20px; | |||
display: none; | |||
fill: var(--commentIconColour); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, that's annoying and I hate all of the weird tricks to make it work :(
The basics
The details
Resolves
Fixes N/A
Proposed Changes
Was documenting customizing the view of workspace comments and realized there were a few things that needed fixing:
Test Coverage
Tested that all of the icons show up properly.
Documentation
This was for documentation!
Additional Information
N/A