pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonathan S. Katz <jkatz@postgresql.org>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: pgsql-www@postgresql.org
Subject: Re: bad style for SECURITY DEFINER
Date: Mon, 13 Dec 2021 17:14:01 -0500
Message-ID: <3a1e4ece-d593-a8aa-3b23-280a8fd2eeb4@postgresql.org> (raw)
In-Reply-To: <49328270-4191-4915-ABD4-16AFE6905AE3@yesql.se>
References: <20211213001707.GR17618@telsasoft.com>
	<236bee0a-b624-b35d-516a-da7e4c3d2358@enterprisedb.com>
	<212DF319-94A5-4827-9F78-74D29C888717@yesql.se>
	<20211213140110.GU17618@telsasoft.com>
	<3686660c-02a4-7b06-98e9-34a30bb7be08@postgresql.org>
	<49328270-4191-4915-ABD4-16AFE6905AE3@yesql.se>

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;



Attachments:

  [image/png] Screen Shot 2021-12-13 at 5.12.29 PM.png (61.5K, ../3a1e4ece-d593-a8aa-3b23-280a8fd2eeb4@postgresql.org/2-Screen%20Shot%202021-12-13%20at%205.12.29%20PM.png)
  download | view image

  [application/pgp-signature] OpenPGP_signature (839B, ../3a1e4ece-d593-a8aa-3b23-280a8fd2eeb4@postgresql.org/3-OpenPGP_signature)
  download

view thread (9+ messages)  latest in thread

Message-ID: <3a1e4ece-d593-a8aa-3b23-280a8fd2eeb4@postgresql.org>
Permalink:  ../3a1e4ece-d593-a8aa-3b23-280a8fd2eeb4@postgresql.org/
Also on:    postgresql.org/message-id/3a1e4ece-d593-a8aa-3b23-280a8fd2eeb4@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: jkatz@postgresql.org, daniel@yesql.se, pryzby@telsasoft.com, peter.eisentraut@enterprisedb.com, pgsql-www@postgresql.org
  Subject: Re: bad style for SECURITY DEFINER
  In-Reply-To: <3a1e4ece-d593-a8aa-3b23-280a8fd2eeb4@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox