mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-26 06:16:56 +09:00
The legacy Fomantic `line-height: 1` on buttons made ellipsized button text clip descenders like `g` letters, like in the PR target branch selector. Selection dropdowns were 3px taller than the inputs and buttons next to them because their padding assumed `line-height: 1em`. - Buttons and selection dropdowns use `--line-height-default` with smaller vertical padding, `min-height` keeps their sizes for every font including CJK - Remove overrides that only compensated for the old values and dropdown declarations that never applied - Label-edit and push-mirror modals use regular-size action buttons like all other modals
28 lines
1.0 KiB
Handlebars
28 lines
1.0 KiB
Handlebars
<div class="ui small modal" id="push-mirror-edit-modal">
|
|
<div class="header">
|
|
{{ctx.Locale.Tr "repo.settings.mirror_settings.push_mirror.edit_sync_time"}}
|
|
</div>
|
|
<form class="content ui form ignore-dirty" method="post">
|
|
<input type="hidden" name="action" value="push-mirror-update">
|
|
<input type="hidden" name="push_mirror_id" id="push-mirror-edit-id">
|
|
<div class="field">
|
|
<label>{{ctx.Locale.Tr "repo.settings.mirror_settings.mirrored_repository"}}</label>
|
|
<span id="push-mirror-edit-address"></span>
|
|
</div>
|
|
<div class="field">
|
|
<label for="push-mirror-edit-interval">{{ctx.Locale.Tr "repo.mirror_interval" .MinimumMirrorInterval}}</label>
|
|
<input id="push-mirror-edit-interval" name="push_mirror_interval" class="tw-w-auto">
|
|
</div>
|
|
<div class="actions">
|
|
<button type="button" class="ui basic cancel button">
|
|
{{svg "octicon-x"}}
|
|
{{ctx.Locale.Tr "cancel"}}
|
|
</button>
|
|
<button type="submit" class="ui primary approve button">
|
|
{{svg "fontawesome-save"}}
|
|
{{ctx.Locale.Tr "save"}}
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|