CSS problem on wiki

Sijis Aviles sijis at fedoraproject.org
Mon Jul 26 21:40:29 UTC 2010


On Mon, Jul 26, 2010 at 4:11 PM, Sijis Aviles <sijis at fedoraproject.org> wrote:
> On Mon, Jul 26, 2010 at 3:46 PM, Paul W. Frields <stickster at gmail.com> wrote:
>> https://fedoraproject.org/wiki/User:Pfrields/Outline_test
>>
>> The page shows the problem, at least in my browser.  I have extensions
>> disabled and the CSS is rendering third-level headings as inline
>> elements instead of block.
>>
>> --
>> Paul W. Frields                                http://paul.frields.org/
>>  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
>>  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
>>          Where open source multiplies: http://opensource.com
>> --
>> websites mailing list
>> websites at lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/websites
>>
>
> You are right. This is due to the fedora.css inheritance on fp.o. In
> fedora.css, line 151 says "display: block-inline" and that's to allow
> the most-compatible/fedora-default text to work.
>
> In either case, this commit in fedora-web "52ad4f79" breaks it.
>
> In most cases, i don't think there will be multiple h3's in a row
> without text in between it.
> Either way, it should be fixed. I'll add a class to that
> most-compatible/fedora default text and tag block:display-inline to
> that.
>
> Sijis
>

I'm attaching the patch.

Let me know if this works OK and doesn't break fp.o or wiki before committed.

Thanks,

Sijis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fp0-h3-inline-01.patch
Type: text/x-patch
Size: 2578 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/websites/attachments/20100726/165182bb/attachment.bin>


More information about the websites mailing list