Skip to content

Commit

Permalink
Merge pull request #47488 from jkotchoff/rails-info-routes-layout-com…
Browse files Browse the repository at this point in the history
…paction

Line break long routes to prevent scrolling
  • Loading branch information
rafaelfranca committed Feb 28, 2023
2 parents b5858e3 + b111318 commit 787b81b
Showing 1 changed file with 14 additions and 2 deletions.
Expand Up @@ -2,25 +2,37 @@
#route_table {
margin: 0;
border-collapse: collapse;
word-wrap:break-word;
table-layout: fixed;
width:100%;
}

#route_table thead tr {
border-bottom: 2px solid #ddd;
}

#route_table th {
padding-left: 30px;
text-align: left;
}

#route_table thead tr.bottom {
border-bottom: none;
}

#route_table thead tr.bottom th {
padding: 10px 0;
padding: 10px 30px;
line-height: 15px;
}

#route_table thead tr.bottom th input#search {
-webkit-appearance: textfield;
}

#route_table thead th.http-verb {
width: 10%;
}

#route_table tbody tr {
border-bottom: 1px solid #ddd;
}
Expand Down Expand Up @@ -66,7 +78,7 @@
<thead>
<tr>
<th>Helper</th>
<th>HTTP Verb</th>
<th class="http-verb">HTTP Verb</th>
<th>Path</th>
<th>Controller#Action</th>
</tr>
Expand Down

0 comments on commit 787b81b

Please sign in to comment.