Fix double borders on edit page (#1152) (#1153)

* Fix double borders on edit page (#1152)

* Add border modifications to less file
This commit is contained in:
Patrick G 2017-03-10 01:33:35 +00:00 committed by Lunny Xiao
parent 4e716fb0fa
commit 5463640fe6
2 changed files with 24 additions and 2 deletions

View File

@ -1406,6 +1406,17 @@ footer .ui.language .menu {
.repository.file.editor .commit-form-wrapper { .repository.file.editor .commit-form-wrapper {
padding-left: 64px; 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 { .repository.file.editor .commit-form-wrapper .commit-avatar {
float: left; float: left;
margin-left: -64px; margin-left: -64px;
@ -3003,4 +3014,4 @@ footer .ui.language .menu {
.signin .oauth2 img { .signin .oauth2 img {
width: 32px; width: 32px;
height: 32px; height: 32px;
} }

View File

@ -7,4 +7,15 @@
.cm-comment { .cm-comment {
background: inherit !important; background: inherit !important;
} }
} }
.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;
}