From: Y. E. via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Philip Kaludercic <philipk@posteo.net>
Cc: yet@ego.team, 53251@debbugs.gnu.org
Subject: bug#53251: 28.0.90; [PATCH] GNU ELPA: Add margin to 'pre' element
Date: Mon, 24 Jan 2022 18:20:49 +0200 [thread overview]
Message-ID: <m2sftdp0ke.fsf@ego.team> (raw)
In-Reply-To: <87fspey6pi.fsf@posteo.net> (message from Philip Kaludercic on Sun, 23 Jan 2022 12:31:05 +0000)
[-- Attachment #1: Type: text/plain, Size: 862 bytes --]
Philip Kaludercic <philipk@posteo.net> writes:
> Y. E. <yet@ego.team> writes:
>
>> Minor style change to improve packages 'Full Description' output. Few of
>> the influenced pages:
>>
>> - http://elpa.gnu.org/packages/cape.html
>> - http://elpa.gnu.org/packages/consult.html
>> - http://elpa.gnu.org/packages/corfu.html
>> - http://elpa.gnu.org/packages/csharp-mode.html
>> - http://elpa.gnu.org/packages/devdocs.html
>> - http://elpa.gnu.org/packages/embark.html
>> - http://elpa.gnu.org/packages/embark-consult.html
>>
>> Among the pages I checked (many but not all), none was influenced
>> negatively.
>
> All these packages use org-mode READMEs, that are converted to HTML,
> right? To avoid unintended side-effects, it might be better to only
> apply this to "pre.src", not all "pre" blocks.
Sounds good to me. I'm attaching the patch with this change.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Add margin-bottom to pre.src --]
[-- Type: text/x-patch, Size: 531 bytes --]
From 060945150ef443d6bea00a28376b08da7f8340ac Mon Sep 17 00:00:00 2001
From: YugaEgo <yet@ego.team>
Date: Mon, 24 Jan 2022 18:17:06 +0200
Subject: [PATCH] * html/layout.css (pre.src): Add margin-bottom
---
html/layout.css | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/html/layout.css b/html/layout.css
index 48f9aa5fc7..963d19d6d6 100644
--- a/html/layout.css
+++ b/html/layout.css
@@ -126,6 +126,10 @@ pre .kw {
color: #4f0f71;
}
+pre.src {
+ margin-bottom: 2em;
+}
+
p {
margin-bottom: 2em;
}
--
2.34.1
next prev parent reply other threads:[~2022-01-24 16:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-14 11:58 bug#53251: 28.0.90; [PATCH] GNU ELPA: Add margin to 'pre' element Y. E. via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-23 12:31 ` Philip Kaludercic
2022-01-24 16:20 ` Y. E. via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-09-08 13:52 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2sftdp0ke.fsf@ego.team \
--to=bug-gnu-emacs@gnu.org \
--cc=53251@debbugs.gnu.org \
--cc=philipk@posteo.net \
--cc=yet@ego.team \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).