Re: bad style for SECURITY DEFINER

From: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Justin Pryzby <pryzby(at)telsasoft(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, pgsql-www(at)postgresql(dot)org
Subject: Re: bad style for SECURITY DEFINER
Date: 2021-12-13 22:14:01
Message-ID: 3a1e4ece-d593-a8aa-3b23-280a8fd2eeb4@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs 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;

Attachment Content-Type Size
image/png 61.5 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Daniel Gustafsson 2021-12-14 09:27:51 Re: bad style for SECURITY DEFINER
Previous Message Daniel Gustafsson 2021-12-13 21:43:42 Re: bad style for SECURITY DEFINER

Browse pgsql-www by date

  From Date Subject
Next Message Daniel Gustafsson 2021-12-14 09:27:51 Re: bad style for SECURITY DEFINER
Previous Message Joe Conway 2021-12-13 22:03:25 Re: Requesting editor access