summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick G <geek1011@users.noreply.github.com>2017-03-10 01:33:35 +0000
committerLunny Xiao <xiaolunwen@gmail.com>2017-03-10 09:33:35 +0800
commit5463640fe65fb530349c246ef344c6d50d7c8db4 (patch)
treec49eaddfffb80fab80792704b3ce10f90916b91a
parent4e716fb0fa5fd92e337f6f2a238c14eb9835513d (diff)
downloadgitea-5463640fe65fb530349c246ef344c6d50d7c8db4.tar.gz
gitea-5463640fe65fb530349c246ef344c6d50d7c8db4.zip
Fix double borders on edit page (#1152) (#1153)
* Fix double borders on edit page (#1152) * Add border modifications to less file
-rw-r--r--public/css/index.css13
-rw-r--r--public/less/_editor.less13
2 files changed, 24 insertions, 2 deletions
diff --git a/public/css/index.css b/public/css/index.css
index a35351e177..54a0c23727 100644
--- a/public/css/index.css
+++ b/public/css/index.css
@@ -1406,6 +1406,17 @@ footer .ui.language .menu {
.repository.file.editor .commit-form-wrapper {
padding-left: 64px;
}
+.repository.file.editor .tab[data-tab="write"] {
+ padding: 0 !important;
+}
+.repository.file.editor .tab[data-tab="write"] .editor-toolbar {
+ border: none !important;
+}
+.repository.file.editor .tab[data-tab="write"] .CodeMirror {
+ border-left: none;
+ border-right: none;
+ border-bottom: none;
+}
.repository.file.editor .commit-form-wrapper .commit-avatar {
float: left;
margin-left: -64px;
@@ -3003,4 +3014,4 @@ footer .ui.language .menu {
.signin .oauth2 img {
width: 32px;
height: 32px;
-} \ No newline at end of file
+}
diff --git a/public/less/_editor.less b/public/less/_editor.less
index 25347bdc8d..10d6c35f0f 100644
--- a/public/less/_editor.less
+++ b/public/less/_editor.less
@@ -7,4 +7,15 @@
.cm-comment {
background: inherit !important;
}
-} \ No newline at end of file
+}
+.repository.file.editor .tab[data-tab="write"] {
+ padding: 0 !important;
+}
+.repository.file.editor .tab[data-tab="write"] .editor-toolbar {
+ border: none !important;
+}
+.repository.file.editor .tab[data-tab="write"] .CodeMirror {
+ border-left: none;
+ border-right: none;
+ border-bottom: none;
+}