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 include="shared-styles">
:host {
border-bottom: 1px solid var(--border-color);
display: block;
position: relative;
cursor: pointer;

View File

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