Stylus: Glitch when I use the New manage UI layout

Created on 28 Feb 2018  路  7Comments  路  Source: openstyles/stylus

external

Most helpful comment

You can install a userstyle locally to fix the issue:

@-moz-document regexp("chrome-extension://.*?/manage.*") {
  .newUI .entry,
  .newUI .entry > *,
  .newUI .entry .actions,
  .newUI .target,
  .newUI .target img,
  .newUI .entry.can-update,
  .newUI .entry.update-problem,
  .newUI .entry.update-done {
    contain: none;
  }
}

All 7 comments

We didn't test in outdated versions of Chrome for a very long time.
The problem was caused by a bug in Chrome 57 and older.
I've added a workaround in Stylus so it'll be present in the next update (in a week or so).

You can install a userstyle locally to fix the issue:

@-moz-document regexp("chrome-extension://.*?/manage.*") {
  .newUI .entry,
  .newUI .entry > *,
  .newUI .entry .actions,
  .newUI .target,
  .newUI .target img,
  .newUI .entry.can-update,
  .newUI .entry.update-problem,
  .newUI .entry.update-done {
    contain: none;
  }
}

Thank you VERY much

@tophf You eliminate contain: altogether? It caused some weird behavior with borders in the different flex layouts I use, so I had to override them. @Mottie added them for some kinda performance gain IIRC, but I saw no obvious downside to getting rid of it.

@thinkpad4 Why the ancient version of Slimjet?

I've moved those contain definitions from css into js using chrome version check so it's disabled in 57 and older.

@narcolepticinsomniac Not a fan of the whole material design look of the newer versions. And I got Slimjet running exactly how I like it

Ah. The property has other little quirks IME, even in stable. Not in the default layout though, so if there's positives, might as well keep them.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

catcat520 picture catcat520  路  26Comments

vsemozhetbyt picture vsemozhetbyt  路  39Comments

xt0rted picture xt0rted  路  51Comments

saxamaphone69 picture saxamaphone69  路  64Comments

tkosamja picture tkosamja  路  49Comments