File tree Expand file tree Collapse file tree 2 files changed +10
-14
lines changed
_resourcepdf/overrides/partials Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 1
1
< div data-banner ="data-banner ">
2
2
< 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 ">
4
4
< span class ="edit-page-icon ">
5
5
{% set icon = config.theme.icon.edit or "material/file-edit-outline" %}
6
6
{% include ".icons/" ~ icon ~ ".svg" %}
7
7
</ span >
8
- < span class ="edit-page-text "> Edit on GitHub</ span >
8
+ < span class ="edit-page-text "> Edit this page on GitHub</ span >
9
9
</ a >
10
10
</ div >
11
11
</ div >
Original file line number Diff line number Diff line change 11
11
line-height : 1.6 ;
12
12
}
13
13
14
- /* Style the link */
15
14
.edit-page-link {
15
+ white-space : nowrap;
16
16
display : inline-flex;
17
17
align-items : center;
18
- gap : 0.8em ;
19
- text-decoration : none;
18
+ gap : 0.5em ;
19
+ font-size : 1.1rem ;
20
+ font-weight : normal;
20
21
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;
22
+ text-decoration : underline;
26
23
}
27
24
28
- /* Bigger icon, aligned with text */
29
25
.edit-page-icon svg {
30
- width : 1.4 em ;
31
- height : 1.4 em ;
32
- fill : currentColor;
26
+ width : 1.35 em ; /* Increase from 1em to 1.25em or more */
27
+ height : 1.35 em ;
28
+ fill : currentColor; /* Make the icon match text color */
33
29
vertical-align : middle;
34
30
}
35
31
You can’t perform that action at this time.
0 commit comments