[pbs-devel] [PATCH proxmox-backup v2 2/3] docs: add custom class for svgs
Hannes Dürr
h.duerr at proxmox.com
Mon Apr 8 12:57:08 CEST 2024
On 4/8/24 11:23, Fabian Grünbichler wrote:
> 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
In Version two i added that the patch series builds on top of another
series,
where the source of the file was changed.
>> @@ -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
>>
>>
>>
>
> _______________________________________________
> 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