From 5463640fe65fb530349c246ef344c6d50d7c8db4 Mon Sep 17 00:00:00 2001 From: Patrick G Date: Fri, 10 Mar 2017 01:33:35 +0000 Subject: [PATCH] Fix double borders on edit page (#1152) (#1153) * Fix double borders on edit page (#1152) * Add border modifications to less file --- public/css/index.css | 13 ++++++++++++- public/less/_editor.less | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/public/css/index.css b/public/css/index.css index a35351e17..54a0c2372 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 25347bdc8..10d6c35f0 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; +}