Re: bad style for SECURITY DEFINER

Поиск
Список
Период
Сортировка
От Jonathan S. Katz
Тема Re: bad style for SECURITY DEFINER
Дата
Msg-id 3a1e4ece-d593-a8aa-3b23-280a8fd2eeb4@postgresql.org
обсуждение исходный текст
Ответ на Re: bad style for SECURITY DEFINER  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: bad style for SECURITY DEFINER  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-www
On 12/13/21 4:43 PM, Daniel Gustafsson wrote:

> The margin issue looks right but I think the font-size should match the rest of
> the title.

Please see attached and below for revision.

I'm not thrilled about the !important override that's needed to deal 
with another !important, but I don't want to try to unweave the 
!important nest given the lack of overall cases of a code block nested 
within h2 title tags.

Jonathan


diff --git a/media/css/main.css b/media/css/main.css
index d97da4d..e7b1455 100644
--- a/media/css/main.css
+++ b/media/css/main.css
@@ -877,6 +877,14 @@ code,
    font-size: inherit !important;
  }

+#docContent h2 code {
+  font-size: inherit !important;
+  margin-bottom: 0em;
+  margin-left: 0.5em;
+  margin-right: 0.5em;
+  margin-top: 0em;
+}
+
  #docContent .NAVHEADER table th,
  #docContent .navheader table th {
    text-align: center;


Вложения

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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Requesting editor access
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: bad style for SECURITY DEFINER