Merge "Remove double line, padding, and drop shadow from inline diff view"

This commit is contained in:
Kasper Nilsson
2017-11-29 18:03:32 +00:00
committed by Gerrit Code Review
3 changed files with 4 additions and 4 deletions

View File

@@ -153,9 +153,7 @@ limitations under the License.
min-width: 2em;
}
gr-diff {
box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
display: block;
margin: .25em 0 1em;
overflow-x: auto;
}
.truncatedFileName {

View File

@@ -45,6 +45,9 @@ limitations under the License.
}
gr-diff {
border: none;
--diff-container-styles: {
border-bottom: 1px solid #eee;
}
}
gr-fixed-panel {
background-color: #fff;

View File

@@ -48,10 +48,9 @@ limitations under the License.
display: none;
}
.diffContainer {
border-bottom: 1px solid #eee;
border-top: 1px solid #eee;
display: flex;
font: 12px var(--monospace-font-family);
@apply --diff-container-styles;
}
.diffContainer.hiddenscroll {
padding-bottom: .8em;