File tree Expand file tree Collapse file tree 2 files changed +15
-14
lines changed
_resourcepdf/overrides/partials Expand file tree Collapse file tree 2 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 11<div data-banner="data-banner">
22 <div class="actions">
3- <a href="{{ page.edit_url }}" title="Edit on GitHub" class="edit-page-link">
3+ <a href="{{ page.edit_url }}" title="Edit this page on GitHub" class="edit-page-link">
44 <span class="edit-page-icon">
55 {% set icon = config.theme.icon.edit or "material/file-edit-outline" %}
66 {% include ".icons/" ~ icon ~ ".svg" %}
77 </span>
8- <span class="edit-page-text">Edit on GitHub</span>
8+ <span class="edit-page-text">Edit this page on GitHub</span>
99 </a>
1010 </div>
1111</div>
Original file line number Diff line number Diff line change 1111 line-height: 1.6;
1212}
1313
14- /* Style the link */
1514.edit-page-link {
15+ white-space: nowrap;
1616 display: inline-flex;
1717 align-items: center;
18- gap: 0.8em;
19- text-decoration: none;
18+ gap: 0.5em;
19+
20+ font-size: 1rem;
21+ font-weight: normal;
2022 color: var(--md-typeset-a-color);
21- font-size: 1.35rem ;
22- font-weight: 500;
23- line-height: 1.4;
24- transition: color 0.2s ease;
25- cursor: pointer ;
23+ text-decoration: underline ;
24+ }
25+
26+ .edit-page-link:hover {
27+ color: var(--md-accent-fg-color) ;
2628}
2729
28- /* Bigger icon, aligned with text */
2930.edit-page-icon svg {
30- width: 1.4em ;
31- height: 1.4em ;
32- fill: currentColor;
31+ width: 1.25em ; /* Increase from 1em to 1.25em or more */
32+ height: 1.25em ;
33+ fill: currentColor; /* Make the icon match text color */
3334 vertical-align: middle;
3435}
3536
You can’t perform that action at this time.
0 commit comments