[pgsql-www] Empty ul on navmenu

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема [pgsql-www] Empty ul on navmenu
Дата
Msg-id DD6F8622-516F-4E62-AF2A-7F16E7CB9283@yesql.se
обсуждение исходный текст
Ответы Re: [pgsql-www] Empty ul on navmenu  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-www
When the navmenu is empty in base/page.html, the sidebar renders an empty list
<ul></ul> which is illegal HTML.  One example (the only?) is on account/login/.
Fix by checking length of passed list as in attached.

This removes the one gray line in the sidebar which could be seen as perhaps
making the page look a bit (more) lopsided, but thats a separate issue.
Personally I don’t think an empty gray box looks better, but if we want that it
could be fixed with <div> that renders and shows the gray background.

cheers ./daniel


-- 
Sent via pgsql-www mailing list (pgsql-www@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-www

Вложения

В списке pgsql-www по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: [pgsql-www] A few more http links
Следующее
От: ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)
Дата:
Сообщение: [pgsql-www] Further UTF8/MIME fixes for the commitfest app