Topic on Skin talk:Chameleon

How can I change the width of break right after a bulleted/numbered list?

6
39.7.52.130 (talkcontribs)

I extensively use bulleted lists in my wiki and I've realized that the width of break right after a bulleted/numbered list is smaller with Chameleon skin, compared to with Vector skin. How can I make this break 'thicker'?

  • element 1
  • element 2
  • element 3

(break)
The treatment of human immunodeficiency virus (HIV) infection has been revolutionized by potent antiretroviral therapy (ART). Use of these multidrug regimens has resulted in substantial reductions in progression........

F.trott (talkcontribs)

I consider this a bug and will fix it at some point. For now the best solution is to create your own LESS file and include it.

The file should contain a rule

.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul {
  margin: 0 0 10px 20px;
  padding: 0;
}

See Skin:Chameleon#Fonts_and_Colors for how to include the file.

39.7.52.130 (talkcontribs)

it works! Thank you!!!

221.150.229.166 (talkcontribs)

I've found that there comes a new problem with this solution.

  • element 1
  • element 2
    • element 2-1
    • element 2-2
  • element 3

The treatment of human immunodeficiency virus (HIV) infection has been revolutionized by potent antiretroviral therapy (ART). Use of these multidrug regimens has resulted in substantial reductions in progression........

Of course it makes a break between 'element3' and 'treatment......', but it also makes a wide break between 'element 2-2' and 'element 3'

F.trott (talkcontribs)

Well, amend the rule so it reads

.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul {
  margin: 0 0 10px 20px;
  padding: 0;

  ul {
    margin-bottom: 0;
  }
}

You will have to make a small change (e.g. add or delete an empty line) to LocalSettings.php. Else the changes will not take effect.

110.70.49.80 (talkcontribs)

Thank you. Now it's really working :) I'm a big fan of this skin.

Reply to "How can I change the width of break right after a bulleted/numbered list?"