mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
3dee3d107b
This commit aligns the layout of errors and extended diagnostics pages more closely with other docs pages to ensure that the "Edit source" button is displayed correctly even when the heading is too long to fit on a single line. For error pages, in particular, this ensures that the button is not obscured by the error video. **Before:** ![error-pages before][1] **After:** ![error-pages after][2] [1]: https://user-images.githubusercontent.com/8604205/163408291-7aebd029-891c-4045-8fa2-a8e2b2b06dab.png [2]: https://user-images.githubusercontent.com/8604205/163408296-40e6df8e-aadc-4a82-978a-ab4d902b6f6e.png PR Close #45634
17 lines
313 B
HTML
17 lines
313 B
HTML
{% import "lib/githubLinks.html" as github -%}
|
|
|
|
<div class="github-links">
|
|
{$ github.githubEditLink(doc, versionInfo) $}
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<h1>{$ doc.code $}: {$ doc.name $}</h1>
|
|
|
|
<div class="diagnostic-description">
|
|
<h2>Description</h2>
|
|
{$ doc.description | marked $}
|
|
</div>
|
|
|
|
</div>
|