agora inbox for pgsql-hackers@postgresql.org  
help / color / mirror / Atom feed
[PATCH] Add padding to table.simplelist for more readable output
2+ messages / 1 participants
[nested] [flat]

* [PATCH] Add padding to table.simplelist for more readable output
@ 2023-03-09 09:22  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2023-03-09 09:22 UTC (permalink / raw)

Suggested by Karl Pinc
---
 media/css/main.css | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/media/css/main.css b/media/css/main.css
index 723366c9..fd082ae4 100644
--- a/media/css/main.css
+++ b/media/css/main.css
@@ -1169,6 +1169,12 @@ code,
   color: var(--doccontent-code-fg-color) !important;
 }
 
+/** Simplelist */
+#docContent table.simplelist td {
+	padding-left: 2em;
+	padding-right: 2em;
+}
+
 /**
   * Various callout boxes for docs, including warning, caution, note, tip
   */
-- 
2.30.2


--jffuhrgohs4dd7f7--





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* [PATCH v2] Add padding to table.simplelist for more readable output
@ 2023-03-09 09:22  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2023-03-09 09:22 UTC (permalink / raw)

This only affects the Postgres documentation pages.

Suggested by Karl Pinc

Reviewed-by: Jonathan S. Katz
Reviewed-by: Daniel Gustafsson
---
 media/css/main.css | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/media/css/main.css b/media/css/main.css
index 723366c9..e69e5f16 100644
--- a/media/css/main.css
+++ b/media/css/main.css
@@ -1169,6 +1169,12 @@ code,
   color: var(--doccontent-code-fg-color) !important;
 }
 
+/** Additional formatting for "simplelist" structures */
+#docContent table.simplelist td {
+	padding-left: 2em;
+	padding-right: 2em;
+}
+
 /**
   * Various callout boxes for docs, including warning, caution, note, tip
   */
-- 
2.30.2


--75zov3m5mrqcnjtv--





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2023-03-09 09:22 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-03-09 09:22 [PATCH] Add padding to table.simplelist for more readable output Alvaro Herrera <alvherre@alvh.no-ip.org>
2023-03-09 09:22 [PATCH v2] Add padding to table.simplelist for more readable output Alvaro Herrera <alvherre@alvh.no-ip.org>

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