MediaWiki talk:Centralnotice-template-B12 JimmyBlank

From Meta, a Wikimedia project coordination wiki

Please edit and change this

#{{{banner}}} {
  position: absolute;
  background-image: url({{{image-link}}});
  background-repeat: no-repeat;
  left: -9999px;
  margin-bottom: 0.5em !important;
  background-color:#FFFFFF;
  border: solid 1px silver; 
  height:172px;
  overflow: hidden;
  top: -9999px;
}

body.ltr #{{{banner}}} {
  background-position: bottom left;
}
body.rtl #{{{banner}}} {
  background-position: bottom right;
}

to

#{{{banner}}} {
  position: absolute;
  background-image: url({{{image-link}}});
  background-repeat: no-repeat;
  margin-bottom: 0.5em !important;
  background-color:#FFFFFF;
  border: solid 1px silver; 
  height:172px;
  overflow: hidden;
  top: -9999px;
}

body.ltr #{{{banner}}} {
  background-position: bottom left;
  left: -9999px;
}
body.rtl #{{{banner}}} {
  background-position: bottom right;
  right: -9999px;
}

left: -9999px; is responsible for HUGE useless horizontal scroll on RTL wikis. Thanks --ebraminiotalk 08:26, 3 October 2012 (UTC)[reply]

Done, makes sense. Please test if it's fixed (in a few minutes to let cache update). --Nemo 08:53, 3 October 2012 (UTC)[reply]