From 54381f438b6dd3dcfd29426c003463b623d46982 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 6 Aug 2017 05:13:20 +0200 Subject: [PATCH] File path tweaks in UI (#2264) --- public/css/index.css | 7 +++++++ public/less/_base.less | 7 +++++++ templates/repo/home.tmpl | 12 ++++++------ 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/public/css/index.css b/public/css/index.css index d720f6e955..32fefb92e4 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -120,6 +120,13 @@ code.wrap { .ui.right { float: right; } +.ui.button, +.ui.menu .item { + -moz-user-select: auto; + -ms-user-select: auto; + -webkit-user-select: auto; + user-select: auto; +} .ui.container.fluid.padded { padding: 0 10px 0 10px; } diff --git a/public/less/_base.less b/public/less/_base.less index 757da2a66b..ba4821035b 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -122,6 +122,13 @@ pre, code { float: right; } + &.button, &.menu .item { + -moz-user-select: auto; + -ms-user-select: auto; + -webkit-user-select: auto; + user-select: auto; + } + &.container { &.fluid { &.padded { diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 5af574ee04..24ce082da6 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -17,20 +17,20 @@ {{end}} {{template "repo/branch_dropdown" .}}
- +
{{if .Repository.CanEnableEditor}}