diff --git a/public/custom-style.css b/public/custom-style.css index d69642c..4ca299d 100644 --- a/public/custom-style.css +++ b/public/custom-style.css @@ -37,10 +37,41 @@ float: unset; } +.message.clone-menu { + text-align: left; +} +kbd { +} .clone-grid { + margin-top: 0.5em; display: grid; grid-template-columns: 0fr 1fr; grid-column-gap: 1em; align-items: center; text-align: right; } + +/* cancel some semantic-ui styles (maybe we should not be using this class..) */ +.ui.sub.header { + text-transform: unset; + vertical-align: baseline; +} +.ui.attached.header .right { + margin-top: unset; +} + +#repo-files-table { + margin-top: 0; + border-top-left-radius: 0; + border-top-right-radius: 0; +} + +.ui.top.attached.header { + margin-top: 2em; + margin-bottom: -1px; + background: #F9FAFB; +} + +.ui.left.attached.button { + margin-right: 1px; +} diff --git a/templates/repo/branch_dropdown.tmpl b/templates/repo/branch_dropdown.tmpl index fa68943..c3cc4f4 100644 --- a/templates/repo/branch_dropdown.tmpl +++ b/templates/repo/branch_dropdown.tmpl @@ -1,3 +1,13 @@ +{{/* +{{if and .PullRequestCtx.Allowed .IsViewBranch}} +
+ + + +
+{{end}} +*/}} +
{{ $showCommitCount := and (.Repository.UnitEnabled $.UnitTypeCode) (not .IsBareRepo)}} {{end}} - {{ $n := len .TreeNames}} - {{ $l := Subtract $n 1}}