Skip to content

Commit bf81fc6

Browse files
committed
fix
1 parent 9322be9 commit bf81fc6

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

templates/repo/settings/options.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
<tbody>
123123
<tr>
124124
<td colspan="4">
125-
<div class="text red gt-py-4 tw-border tw-border-b-secondary">{{ctx.Locale.Tr "repo.settings.mirror_settings.direction.pull"}}: {{ctx.Locale.Tr "error.occurred"}}</div>
125+
<div class="text red gt-py-4">{{ctx.Locale.Tr "repo.settings.mirror_settings.direction.pull"}}: {{ctx.Locale.Tr "error.occurred"}}</div>
126126
</td>
127127
</tr>
128128
</tbody>
@@ -201,8 +201,8 @@
201201
</td>
202202
</tr>
203203
</tbody>
204+
{{end}}{{/* end if: IsMirror */}}
204205
</table>
205-
{{end}}{{/* end if: IsMirror */}}
206206

207207
<table class="ui table">
208208
<thead>

templates/status/500.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</head>
1717
<body>
1818
<div class="full height">
19-
<nav class="ui secondary menu tw-border-b tw-border-b-secondary">
19+
<nav class="ui secondary menu">
2020
<div class="ui container gt-df">
2121
<div class="item gt-f1">
2222
<a href="{{AppSubUrl}}/" aria-label="{{ctx.Locale.Tr "home"}}">
@@ -28,6 +28,7 @@
2828
</div>
2929
</div>
3030
</nav>
31+
<div class="divider"></div>
3132
<div role="main" class="page-content status-page-500">
3233
<div class="ui container" >
3334
<style> .ui.message.flash-message { text-align: left; } </style>

web_src/js/components/DiffCommitSelector.vue

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export default {
204204
</button>
205205
<div class="menu left transition" id="diff-commit-selector-menu" :class="{visible: menuVisible}" v-show="menuVisible" v-cloak :aria-expanded="menuVisible ? 'true': 'false'">
206206
<div class="loading-indicator is-loading" v-if="isLoading"/>
207-
<div v-if="!isLoading" class="vertical item gt-df gt-fc gt-gap-2" id="diff-commit-list-show-all" role="menuitem" @keydown.enter="showAllChanges()" @click="showAllChanges()">
207+
<div v-if="!isLoading" class="vertical item" id="diff-commit-list-show-all" role="menuitem" @keydown.enter="showAllChanges()" @click="showAllChanges()">
208208
<div class="gt-ellipsis">
209209
{{ locale.show_all_commits }}
210210
</div>
@@ -215,7 +215,7 @@ export default {
215215
<!-- only show the show changes since last review if there is a review AND we are commits ahead of the last review -->
216216
<div
217217
v-if="lastReviewCommitSha != null" role="menuitem"
218-
class="vertical item gt-df gt-fc gt-gap-2 tw-border-t tw-border-t-secondary"
218+
class="vertical item"
219219
:class="{disabled: commitsSinceLastReview === 0}"
220220
@keydown.enter="changesSinceLastReviewClick()"
221221
@click="changesSinceLastReviewClick()"
@@ -227,10 +227,10 @@ export default {
227227
{{ commitsSinceLastReview }} commits
228228
</div>
229229
</div>
230-
<span v-if="!isLoading" class="info tw-border-t tw-border-t-secondary text light-2">{{ locale.select_commit_hold_shift_for_range }}</span>
230+
<span v-if="!isLoading" class="info text light-2">{{ locale.select_commit_hold_shift_for_range }}</span>
231231
<template v-for="commit in commits" :key="commit.id">
232232
<div
233-
class="vertical item gt-df gt-gap-2 tw-border-t tw-border-t-secondary" role="menuitem"
233+
class="vertical item" role="menuitem"
234234
:class="{selection: commit.selected, hovered: commit.hovered}"
235235
@keydown.enter.exact="commitClicked(commit.id)"
236236
@keydown.enter.shift.exact="commitClickedShift(commit)"
@@ -285,10 +285,14 @@ export default {
285285
width: 350px;
286286
}
287287
288-
#diff-commit-selector-menu .item {
288+
#diff-commit-selector-menu .item,
289+
#diff-commit-selector-menu .info {
290+
display: flex !important;
289291
flex-direction: row;
290292
line-height: 1.4;
291293
padding: 7px 14px !important;
294+
border-top: 1px solid var(--color-secondary) !important;
295+
gap: 0.25em;
292296
}
293297
294298
#diff-commit-selector-menu .item:focus {

web_src/js/features/repo-diff-commit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function addLink(parent, href, text, tooltip) {
3939
link.href = href;
4040
link.textContent = text;
4141
if (tooltip) {
42-
link.classList.add('tw-border tw-border-secondary', 'tw-rounded');
42+
link.classList.add('tw-border', 'tw-border-secondary', 'tw-rounded');
4343
link.setAttribute('data-tooltip-content', tooltip);
4444
}
4545
parent.append(link);

0 commit comments

Comments
 (0)