Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1672)

Unified Diff: Tools/GardeningServer/ui/ct-commit.html

Issue 553343002: Aesthetic tweaks to sheriff-o-matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix padding Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/GardeningServer/ui/ct-bot-failure-card.html ('k') | Tools/GardeningServer/ui/ct-commit-list.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/ct-commit.html
diff --git a/Tools/GardeningServer/ui/ct-commit.html b/Tools/GardeningServer/ui/ct-commit.html
index 94f3f53d390fe18415fb940004244c157b369392..1a2650b4eef26b2e055ae7f8ed0d59dc560218ce 100644
--- a/Tools/GardeningServer/ui/ct-commit.html
+++ b/Tools/GardeningServer/ui/ct-commit.html
@@ -8,30 +8,26 @@ found in the LICENSE file.
<template>
<style>
:host {
- display: block;
+ display: flex;
+ align-items: center;
+ }
+ :host > * {
+ flex-shrink: 0;
}
a {
- padding: 5px 10px;
+ padding: 5px;
margin-right: 5px;
border-radius: 4px;
- display: inline-block;
+ }
+ div {
+ flex: 1;
}
:host(:hover) a {
background-color: #555;
color: white;
}
- :host(:hover) a::after {
- content: '';
- width: 0;
- height: 0;
- margin-top: 5px;
- position: absolute;
- margin-left: 10px;
- border-top: 5px solid white;
- border-left: 5px solid #555;
- border-bottom: 5px solid white;
- }
</style>
- <a href="{{ data.url }}">{{ data.repository }}:{{ data.revision }}</a> {{ data.summary }} <em>{{ data.author }}</em>
+ <a href="{{ data.url }}">{{ data.revision }}</a>
+ <div>{{ data.summary }} <em>{{ data.author }}</em></div>
</template>
</polymer-element>
« no previous file with comments | « Tools/GardeningServer/ui/ct-bot-failure-card.html ('k') | Tools/GardeningServer/ui/ct-commit-list.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698