[pbs-devel] [PATCH proxmox-backup v2 2/3] docs: add custom class for svgs

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Apr 8 11:23:45 CEST 2024


On April 5, 2024 3:05 pm, Hannes Duerr wrote:
> 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 at 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

wrong path ;) this is the copy in the generated part of the docs, the
source is ./docs/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
> 
> 
> 
> _______________________________________________
> pbs-devel mailing list
> pbs-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
> 
> 
> 




More information about the pbs-devel mailing list