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 v2 2/3] docs: add custom class for svgs
Date: Fri,  5 Apr 2024 15:05:42 +0200	[thread overview]
Message-ID: <20240405130543.259220-3-h.duerr@proxmox.com> (raw)
In-Reply-To: <20240405130543.259220-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-05 13:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-05 13:05 [pbs-devel] [PATCH proxmox-backup v2 0/3] docs: clarify and expand the description of the garbage collection Hannes Duerr
2024-04-05 13:05 ` [pbs-devel] [PATCH proxmox-backup v2 1/3] docs: centralise and update garbage collection description Hannes Duerr
2024-04-08  9:20   ` Fabian Grünbichler
2024-04-10 13:38     ` Hannes Dürr
2024-04-11  7:22       ` Fabian Grünbichler
2024-04-05 13:05 ` Hannes Duerr [this message]
2024-04-08  9:23   ` [pbs-devel] [PATCH proxmox-backup v2 2/3] docs: add custom class for svgs Fabian Grünbichler
2024-04-08 10:57     ` Hannes Dürr
2024-04-05 13:05 ` [pbs-devel] [PATCH proxmox-backup v2 3/3] docs: add garbage collection timing example Hannes Duerr
2024-04-08  9:35   ` Fabian Grünbichler
2024-04-08 11:11     ` Hannes Dürr

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=20240405130543.259220-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