Skip to content

Commit 71170fc

Browse files
committed
Prevent Synopsis from using up too much horizontal space
When long type signatures occur in the Synopsis, the element is stretched beyond the width of the window. Scrollbars don't appear, so it's impossible to read anything when this happens.
1 parent 89fc560 commit 71170fc

File tree

1 file changed

+1
-0
lines changed
  • haddock-api/resources/html/Ocean.std-theme

1 file changed

+1
-0
lines changed

haddock-api/resources/html/Ocean.std-theme/ocean.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ div#style-menu-holder {
318318
height: 80%;
319319
top: 10%;
320320
padding: 0;
321+
max-width: 75%;
321322
}
322323

323324
#synopsis .caption {

0 commit comments

Comments
 (0)