[Geoserver-devel] [JIRA] (GEOS-8144) Table of contents background is broken if larger than 800px high

Torben Barsballe created an issue

GeoServer / BugGEOS-8144

Table of contents background is broken if larger than 800px high

Issue Type:

BugBug

Assignee:

Unassigned

Components:

Documentation

Created:

18/May/17 12:17 AM

Priority:

MediumMedium

Reporter:

Torben Barsballe

The background-image used for the Table of Contents sidebar in the GeoServer doc style is a 800px high image.

When the table of contents is less than 800px high, the background image is truncated, and displays normally.

When the table of contents is larger than 800px high, there is a gap between this background image and the top of the table of contents.

Examples:

http://docs.geoserver.org/latest/en/user/tutorials/imagemosaic_timeseries/imagemosaic_timeseries.html
http://docs.geoserver.org/latest/en/user/styling/mbstyle/reference/spec.html

There are a couple routes to fixing this:

a) Add a tileable segment, to be inserted when the TOC is larger than 800 px.

b) Instead of using a background image, we can just use a CSS3 style with a linear-gradient fill and a rounded border. This will reduce browser compatibility a little bit, but all modern browsers support this functionality.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.967.1#100042-sha1:89f2107)

Atlassian logo