Re: [pgsql-www] Empty ul on navmenu

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: [pgsql-www] Empty ul on navmenu
Дата
Msg-id CABUevEyFXyLEURhweYccvNDeN7qt8o2AsRsXnopgZeNVbE49cQ@mail.gmail.com
обсуждение исходный текст
Ответ на [pgsql-www] Empty ul on navmenu  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-www
On Tue, Feb 28, 2017 at 7:45 AM, Daniel Gustafsson <daniel@yesql.se> wrote:
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.

Thanks, applied. 

--

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

Предыдущее
От: "Arulappan, Arul Shaji"
Дата:
Сообщение: Re: [pgsql-www] Wiki editor request
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [pgsql-www] Cannot receive reset password email