Fine tuning for branch name and subject.
In Chrome, it looked slightly off, the line-height adjustment seems to fix it.
This commit is contained in:
parent
2bc3d4d488
commit
49c794c533
|
@ -19,9 +19,9 @@
|
||||||
<div class="branch" {{bind-attr title="build.commit.branch"}}>
|
<div class="branch" {{bind-attr title="build.commit.branch"}}>
|
||||||
{{build.commit.branch}}
|
{{build.commit.branch}}
|
||||||
</div>
|
</div>
|
||||||
-
|
|
||||||
<div class="subject">
|
<div class="subject">
|
||||||
{{formatMessage build.commit.subject repoBinding=build.repo}}
|
- {{formatMessage build.commit.subject repoBinding=build.repo}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<pre class="body">
|
<pre class="body">
|
||||||
|
|
|
@ -18,9 +18,9 @@
|
||||||
<div class="branch" {{bind-attr title="job.commit.branch"}}>
|
<div class="branch" {{bind-attr title="job.commit.branch"}}>
|
||||||
{{job.commit.branch}}
|
{{job.commit.branch}}
|
||||||
</div>
|
</div>
|
||||||
-
|
|
||||||
<div class="subject">
|
<div class="subject">
|
||||||
{{formatMessage job.commit.subject repoBinding=job.repo}}
|
- {{formatMessage job.commit.subject repoBinding=job.repo}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<pre class="body">
|
<pre class="body">
|
||||||
|
|
|
@ -31,10 +31,12 @@
|
||||||
white-space: nowrap
|
white-space: nowrap
|
||||||
|
|
||||||
.subject
|
.subject
|
||||||
display: inline
|
display: inline-block
|
||||||
font-size: 15px
|
font-size: 15px
|
||||||
overflow: hide
|
|
||||||
margin-top: 10px
|
margin-top: 10px
|
||||||
|
overflow: hidden
|
||||||
|
margin-right: 2px
|
||||||
|
line-height: 20px
|
||||||
|
|
||||||
.body
|
.body
|
||||||
min-width: 500px
|
min-width: 500px
|
||||||
|
|
Loading…
Reference in New Issue
Block a user