Files
gerrit/polygerrit-ui/app/styles/gr-change-list-styles.html
Andrew Bonventre 51f741b778 Fix star styling in Firefox
+ An SVG requires a width and height to be set in FF.
+ Also tighten up the sizing in the dashboard view.

Change-Id: I32cf74f2d4f0861cc3be922944a326f51af1a3f4
2016-01-21 21:50:04 +00:00

68 lines
1.5 KiB
HTML

<!--
Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<dom-module id="gr-change-list-styles">
<template>
<style>
.keyboard,
.star {
align-items: center;
display: flex;
justify-content: center;
padding: 0;
width: 2em;
}
.star {
padding-top: .05em;
}
.subject {
flex-grow: 1;
flex-shrink: 1;
word-break: break-word;
}
.status {
width: 9em;
}
.owner {
width: 15em;
}
.project,
.branch {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.project {
width: 10em;
}
.branch {
width: 7em;
}
.updated {
width: 6em;
text-align: right;
}
.size {
width: 9em;
text-align: right;
}
.label {
width: 2.6em;
text-align: center;
}
</style>
</template>
</dom-module>