Преглед на файлове

unify repository page button ui class

jerryliao преди 2 години
родител
ревизия
c25d186335
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      templates/repo/branch_dropdown.tmpl
  2. 2 2
      templates/repo/home.tmpl

+ 1 - 1
templates/repo/branch_dropdown.tmpl

@@ -1,6 +1,6 @@
 <div class="fitted item choose reference">
 	<div class="ui floating filter dropdown" data-no-results="{{.i18n.Tr "repo.pulls.no_results"}}">
-			<div class="ui basic small button">
+			<div class="ui basic tiny button">
 			<span class="text">
 				<i class="octicon octicon-git-branch"></i>
 				{{if .IsViewBranch}}{{.i18n.Tr "repo.branch"}}{{else}}{{.i18n.Tr "repo.tree"}}{{end}}:

+ 2 - 2
templates/repo/home.tmpl

@@ -26,7 +26,7 @@
 			{{if .PullRequestCtx.Allowed}}
 				<div class="fitted item">
 					<a href="{{.BaseRepo.Link}}/compare/{{EscapePound .BaseRepo.DefaultBranch}}...{{EscapePound .PullRequestCtx.HeadInfo}}">
-						<button class="ui green small button"><i class="octicon octicon-git-compare"></i></button>
+						<button class="ui green tiny button"><i class="octicon octicon-git-compare"></i></button>
 					</a>
 				</div>
 			{{end}}
@@ -65,7 +65,7 @@
 
 				<!-- Only show clone panel in repository home page -->
 				{{if eq $n 0}}
-					<div class="ui action small input" id="clone-panel">
+					<div class="ui action tiny input" id="clone-panel">
 						{{if not $.DisableHTTP}}
 							<button class="ui basic clone button" id="repo-clone-https" data-link="{{.CloneLink.HTTPS}}">
 								{{if UseHTTPS}}HTTPS{{else}}HTTP{{end}}