Board Thread:Support Requests - Getting Technical/@comment-7656200-20151215120948

Hi,

I am in the process of converting the infoboxes on our wiki to portable ones.

One type of old box templates is all centered data and to keep that I went for the seemingly easy approach to delete all labels and put those into conditionals with a tag, especially since we have quite a bit of code in our old box.

That worked fine, but when I wanted to center all the data via CSS I noticed that merely the single data item without a tag listens to the CSS. All other items ignore the CSS.

/***********************************/ /*** Portable Infobox Item Theme ***/ /***********************************/

.portable-infobox.pi-theme-ouritems { width: 250px; }

.portable-infobox.pi-theme-ouritems .pi-data-value { text-align: center; align-items: center; }

Is that a bug or feature?

The draft can be found at

http://dcuniverseonline.wikia.com/wiki/Template:BaseItem/Draft

As you can see, only the second to last entry is centered as desired. Original infobox can be found below the draft for comparision.

Thanks for reading. 