public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Hannes Duerr <h.duerr@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 2/3] docs: add custom class for svgs
Date: Tue,  2 Apr 2024 15:36:26 +0200	[thread overview]
Message-ID: <20240402133627.235028-3-h.duerr@proxmox.com> (raw)
In-Reply-To: <20240402133627.235028-1-h.duerr@proxmox.com>

Unfortunately, the width attribute for svgs is ignored in sphinx version
5.3.0. Therefore we create a class which applies a width of 100% as we
want svgs

Signed-off-by: Hannes Duerr <h.duerr@proxmox.com>
---
 docs/_static/custom.css | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/_static/custom.css b/docs/_static/custom.css
index 7022b532..8c3c3e19 100644
--- a/docs/_static/custom.css
+++ b/docs/_static/custom.css
@@ -10,6 +10,11 @@ h1.logo-name {
 div.body img {
     width: 250px;
 }
+
+div.body img.proxmox-svg {
+    width: 100%;
+}
+
 pre {
     padding: 5px 10px;
 }
-- 
2.39.2





  parent reply	other threads:[~2024-04-02 13:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-02 13:36 [pbs-devel] [PATCH proxmox-backup 0/3] docs: clarify and expand the description of the garbage collection Hannes Duerr
2024-04-02 13:36 ` [pbs-devel] [PATCH proxmox-backup 1/3] docs: centralise and update garbage collection description Hannes Duerr
2024-04-05 10:49   ` Gabriel Goller
2024-04-02 13:36 ` Hannes Duerr [this message]
2024-04-02 13:36 ` [pbs-devel] [PATCH proxmox-backup 3/3] docs: add garbage collection timing example Hannes Duerr
2024-04-05 10:58 ` [pbs-devel] [PATCH proxmox-backup 0/3] docs: clarify and expand the description of the garbage collection Gabriel Goller

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240402133627.235028-3-h.duerr@proxmox.com \
    --to=h.duerr@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal