Skip to content

Commit d3f3335

Browse files
chughes-lincolnklassenjs
authored andcommitted
add an example for avoiding catalog legend overlap with bonus image
1 parent e499756 commit d3f3335

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

18.3 KB
Loading
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
How-to avoid catalog legend overlap
2+
====================================
3+
4+
If your catalog has very long legends, or many legends open at once in a
5+
single group, the legends can overlap with layers beneath them, similar
6+
to this example:
7+
8+
.. figure:: /howto/images/catalog-legend-overlap.png
9+
:alt: Catalog Legend Overlap
10+
11+
Catalog Legend Overlap
12+
13+
14+
15+
If this happens, it can be avoided by changing the height of the
16+
children element in the site's ``site.css`` file, from the default
17+
height of 2000px, to whatever value is needed.
18+
19+
Change site.css
20+
------------------------------------------
21+
22+
.. code:: css
23+
24+
.group.gm-expand .children {
25+
max-height: 3000px;
26+
}
27+
28+
29+
30+

0 commit comments

Comments
 (0)