[OSGeoLive] #2337: Wrong size of div on index.html
OSGeoLive
trac_osgeolive at osgeo.org
Tue May 25 12:48:23 PDT 2021
#2337: Wrong size of div on index.html
-----------------------+----------------------------
Reporter: bakaniko | Owner: osgeolive@…
Type: task | Status: new
Priority: normal | Milestone: OSGeoLive14.0
Component: OSGeoLive | Resolution:
Keywords: |
-----------------------+----------------------------
Description changed by bakaniko:
Old description:
> The main page seems to be left aligned, in fact it is because the div is
> limited to 800px.
>
> This parameter is set in basic.css from sphinx (L218):
> div.body{
> min-width: 450px;
> max-width: 800px;
> }
>
> If you change max-width to something like 95% in the web browser, the
> page is ok.
>
> I tried to reproduce this behavior in a local build of the docs and I
> cannot reproduce that behavior. The webpage was correctly displayed.
New description:
The main page seems to be left aligned, in fact it is because the div is
limited to 800px.
This parameter is set in basic.css from sphinx (L218):
div.body{
min-width: 450px;
max-width: 800px;
}
If you change max-width to something like 95% in the web browser, the page
is ok.
I tried to reproduce this behavior in a local build of the docs and I
cannot reproduce that behavior. The webpage was correctly displayed.
It was done with a fresh git clone but maybe an older version of sphinx (I
used 1.6.5) ?
--
--
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2337#comment:1>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.
More information about the osgeolive
mailing list