From f885223155122854b0df01bbbb9a018ffb25df99 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 6 Aug 2017 10:48:24 +0200 Subject: [PATCH 1/4] More tweaks to repo top panel --- public/css/index.css | 5 ++++- public/less/_repository.less | 8 +++++++- templates/repo/branch_dropdown.tmpl | 2 +- templates/repo/home.tmpl | 27 ++++++++------------------- 4 files changed, 20 insertions(+), 22 deletions(-) diff --git a/public/css/index.css b/public/css/index.css index 32fefb92e4af..774b55962130 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -1290,7 +1290,6 @@ footer .ui.language .menu { margin-bottom: 20px; } .repository #clone-panel { - margin-top: -8px; margin-left: 5px; width: 350px; } @@ -1318,6 +1317,10 @@ footer .ui.language .menu { .repository.file.list .choose.reference .header .icon { font-size: 1.4em; } +.repository.file.list .repo-path .section, +.repository.file.list .repo-path .divider { + display: inline; +} .repository.file.list #file-buttons { font-weight: normal; } diff --git a/public/less/_repository.less b/public/less/_repository.less index 2b254123e4d2..170eb4feb00b 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -133,7 +133,6 @@ } #clone-panel { - margin-top: -8px; margin-left: 5px; width: 350px; @@ -167,6 +166,13 @@ font-size: 1.4em; } } + + .repo-path { + .section, .divider { + display: inline; + } + } + #file-buttons { font-weight: normal; .ui.button { diff --git a/templates/repo/branch_dropdown.tmpl b/templates/repo/branch_dropdown.tmpl index ae09b25246a4..063006314baa 100644 --- a/templates/repo/branch_dropdown.tmpl +++ b/templates/repo/branch_dropdown.tmpl @@ -1,6 +1,6 @@