question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicate and contradictory CSS rule in viewer.css

See original GitHub issue

Hi team,

I’ve just noticed a duplicate definition of a CSS rule:

.toolbarField {
  ...
  border: 1px solid transparent;
   ...
  border: 1px solid hsla(0,0%,0%,.35);
  border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);

IMHO there’s one or two rules too many.

For the sake of convenience, here’s the link to the line in the repo.

Best regards, Stephan

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Virtual1commented, Oct 21, 2019

I’d like to claim this, if possible? See if I can figure out & fix it. Thanks Jessica

0reactions
timvandermeijcommented, Oct 22, 2019

Closing since both problems are fixed by #11268. There was a lot of interest in the issue, so thank you all for helping out. If there are more things to fix in the CSS, please open a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Order of prioritization when using multiple contradictory css files
Quick Answer: If both pieces of CSS have the same specificity (for example, they're both body{ ), then whichever gets called LAST will ......
Read more >
Specificity - CSS: Cascading Style Sheets - MDN Web Docs
The specificity algorithm calculates the weight of a CSS selector to determine which rule from competing CSS declarations gets applied to an ...
Read more >
How to Override CSS Styles - W3docs
When an important rule is used on a style declaration, this declaration will override any other declarations. When two conflicting declarations with the...
Read more >
How To Understand and Create CSS Rules - DigitalOcean
Once you declare a rule for a selector, every piece of content in your HTML document marked with that selector will be displayed...
Read more >
DRY CSS: How to Use Declarations Just Once, Effectively
Copy the selectors of the other rules that contain respective duplicate declaration to the rule that comes first. Be sure to remove the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found