Skip to content

Commit

Permalink
Fix excessive whitespace in v3 docs (#4062)
Browse files Browse the repository at this point in the history
  • Loading branch information
johha authored Nov 5, 2024
1 parent 5944eb2 commit ee1c2d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/v3/source/layouts/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ table_of_contents = extract_table_of_contents(html)
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title><%= current_page.data.title || "API Documentation" %></title>
<%= stylesheet_link_tag "custom", :media => "screen" %>
<%= favicon_tag 'favicon.ico' %>
<%= stylesheet_link_tag :screen, media: :screen %>
Expand Down
5 changes: 5 additions & 0 deletions docs/v3/source/stylesheets/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

/* Ensures that divs with the class 'highlight' don't take up the full width of the page preventing excessive whitespace */
.highlight {
display: inline;
}

0 comments on commit ee1c2d0

Please sign in to comment.