From d6f992c22485776671efa4fa8dc7c6ed1fccc269 Mon Sep 17 00:00:00 2001 From: Patrick G Date: Wed, 8 Mar 2017 20:02:16 -0500 Subject: [PATCH 1/2] Fix double borders on edit page (#1152) --- public/css/index.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/public/css/index.css b/public/css/index.css index a35351e17716a..54a0c23727f19 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 +} From 464335ae93da989593a974e79e7bc612dbfafc18 Mon Sep 17 00:00:00 2001 From: Patrick G Date: Thu, 9 Mar 2017 10:37:29 -0500 Subject: [PATCH 2/2] Add border modifications to less file --- public/less/_editor.less | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/public/less/_editor.less b/public/less/_editor.less index 25347bdc8d379..10d6c35f0f1a6 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; +}