Website: Update buttons on documentation pages (#13096)

Closes: #12989

Changes:
- Increased the clickable area of the edit page button on documentation
pages.
- Updated the click event that is added to headings on documentation
pages.
This commit is contained in:
Eric
2023-08-04 12:11:56 -05:00
committed by GitHub
parent 29b9a7fe88
commit d89a1b4e92
3 changed files with 11 additions and 19 deletions
+3 -3
View File
@@ -122,9 +122,9 @@
<h1 purpose="page-title" class="d-flex d-lg-none py-4 m-0"><%= thisPage.title %></h1>
<div purpose="edit-button-container">
<div purpose="edit-button">
<a :href="'https://github.com/fleetdm/fleet/edit/main/docs/'+thisPage.sectionRelativeRepoPath" target="_blank"><i class="fa fa-pencil"></i>Edit page</a>
</div>
<a purpose="edit-button" :href="'https://github.com/fleetdm/fleet/edit/main/docs/'+thisPage.sectionRelativeRepoPath" target="_blank">
<i class="fa fa-pencil"></i>Edit page
</a>
</div>
<div class="container-fluid d-flex flex-column flex-lg-row p-0 pt-lg-4 pb-lg-4 m-0">