Merge "Do not show a bottom border for the last gr-message"

This commit is contained in:
Ben Rohlfs
2020-02-27 08:57:42 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 1 deletions

View File

@@ -36,7 +36,6 @@ limitations under the License.
</style> </style>
<style include="shared-styles"> <style include="shared-styles">
:host { :host {
border-bottom: 1px solid var(--border-color);
display: block; display: block;
position: relative; position: relative;
cursor: pointer; cursor: pointer;

View File

@@ -64,6 +64,9 @@ limitations under the License.
align-items: center; align-items: center;
display: flex; display: flex;
} }
gr-message:not(:last-of-type) {
border-bottom: 1px solid var(--border-color);
}
gr-message:nth-child(2n) { gr-message:nth-child(2n) {
background-color: var(--background-color-secondary); background-color: var(--background-color-secondary);
} }