Documentation: Fix REST API example box width
In 3eb809dd03
the max width of the page
was set to 900px, but the REST API example boxes were still set with
a fixed width of 100em which caused them to extend out to the right
of the page.
Remove the fixed width of the box, and set "overflow: auto". This
makes the boxes fit within the page width, with a horizontal scroll
bar on the ones that have wider content.
Change-Id: I6f64c314e4eb484d9c5120fd0fd5589fcaa8b77e
This commit is contained in:
parent
237e224c43
commit
a83c222362
@ -28,9 +28,9 @@ li p {
|
||||
border: 2px solid silver;
|
||||
background: #ebebeb;
|
||||
margin-left: 2em;
|
||||
width: 100em;
|
||||
color: darkgreen;
|
||||
padding: 2px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.listingblock > .content pre {
|
||||
|
Loading…
Reference in New Issue
Block a user