mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-03-12 00:12:37 +01:00
chore(ui): improve svg icon margin consistency (#7172)
* followup to https://codeberg.org/forgejo/forgejo/pulls/7031#issuecomment-2868277: no visible changes * followup to https://codeberg.org/forgejo/forgejo/pulls/6963: apply a small margin to the icon Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7172 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: 0ko <0ko@noreply.codeberg.org> Co-committed-by: 0ko <0ko@noreply.codeberg.org>
This commit is contained in:
parent
8fce7fbec7
commit
140b28b60d
2 changed files with 5 additions and 5 deletions
|
@ -194,13 +194,13 @@
|
||||||
{{else}}
|
{{else}}
|
||||||
{{if .ShowRegistrationButton}}
|
{{if .ShowRegistrationButton}}
|
||||||
<a class="item{{if .PageIsSignUp}} active{{end}}" href="{{AppSubUrl}}/user/sign_up">
|
<a class="item{{if .PageIsSignUp}} active{{end}}" href="{{AppSubUrl}}/user/sign_up">
|
||||||
{{svg "octicon-person"}}
|
{{svg "octicon-person" 16 "tw-mr-1"}}
|
||||||
<span class="tw-ml-1">{{ctx.Locale.Tr "register"}}</span>
|
<span>{{ctx.Locale.Tr "register"}}</span>
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
<a class="item{{if .PageIsSignIn}} active{{end}}" rel="nofollow" href="{{AppSubUrl}}/user/login{{if not .PageIsSignIn}}?redirect_to={{.CurrentURL}}{{end}}">
|
<a class="item{{if .PageIsSignIn}} active{{end}}" rel="nofollow" href="{{AppSubUrl}}/user/login{{if not .PageIsSignIn}}?redirect_to={{.CurrentURL}}{{end}}">
|
||||||
{{svg "octicon-sign-in"}}
|
{{svg "octicon-sign-in" 16 "tw-mr-1"}}
|
||||||
<span class="tw-ml-1">{{ctx.Locale.Tr "sign_in"}}</span>
|
<span>{{ctx.Locale.Tr "sign_in"}}</span>
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div><!-- end full right menu -->
|
</div><!-- end full right menu -->
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
|
|
||||||
<div class="ui g-modal-confirm delete modal" id="regenerate-token">
|
<div class="ui g-modal-confirm delete modal" id="regenerate-token">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
{{svg "octicon-issue-reopened"}}
|
{{svg "octicon-issue-reopened" 16 "tw-mr-1"}}
|
||||||
{{ctx.Locale.Tr "settings.access_token_regeneration"}}
|
{{ctx.Locale.Tr "settings.access_token_regeneration"}}
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
Loading…
Add table
Reference in a new issue