Skip to content

Commit 314ceee

Browse files
committed
gt-as --> gt-items-stretch
1 parent e127fe5 commit 314ceee

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

templates/repo/branch_dropdown.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
{{/* show dummy elements before Vue componment is mounted, this code must match the code in BranchTagSelector.vue */}}
7272
<div class="ui dropdown custom">
7373
<button class="branch-dropdown-button ui basic small compact button gt-df gt-m-0">
74-
<span class="text gt-df gt-ac gt-overflow-x-auto gt-as">
74+
<span class="text gt-df gt-ac gt-overflow-x-auto gt-items-stretch">
7575
{{if .release}}
7676
{{ctx.Locale.Tr "repo.release.compare"}}
7777
{{else}}

web_src/css/helpers.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Gitea's private styles use `g-` prefix.
55
.gt-df { display: flex !important; }
66
.gt-dib { display: inline-block !important; }
77
.gt-ac { align-items: center !important; }
8-
.gt-as { align-items: stretch !important; }
8+
.gt-items-stretch { align-items: stretch !important; }
99
.gt-jc { justify-content: center !important; }
1010
.gt-je { justify-content: flex-end !important; }
1111
.gt-sb { justify-content: space-between !important; }

web_src/js/components/RepoBranchTagSelector.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export default sfc; // activate IDE's Vue plugin
246246
<template>
247247
<div class="ui dropdown custom">
248248
<button class="branch-dropdown-button ui basic small compact button gt-df gt-m-0" @click="menuVisible = !menuVisible" @keyup.enter="menuVisible = !menuVisible">
249-
<span class="text gt-df gt-ac gt-overflow-x-auto gt-as">
249+
<span class="text gt-df gt-ac gt-overflow-x-auto gt-items-stretch">
250250
<template v-if="release">{{ textReleaseCompare }}</template>
251251
<template v-else>
252252
<svg-icon v-if="isViewTag" name="octicon-tag"/>

0 commit comments

Comments
 (0)