Re: bad style for SECURITY DEFINER - Mailing list pgsql-www

From Jonathan S. Katz
Subject Re: bad style for SECURITY DEFINER
Date
Msg-id 3a1e4ece-d593-a8aa-3b23-280a8fd2eeb4@postgresql.org
Whole thread Raw
In response to Re: bad style for SECURITY DEFINER  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: bad style for SECURITY DEFINER  (Daniel Gustafsson <daniel@yesql.se>)
List 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

pgsql-www by date:

Previous
From: Joe Conway
Date:
Subject: Re: Requesting editor access
Next
From: Daniel Gustafsson
Date:
Subject: Re: bad style for SECURITY DEFINER