Skip to content

Commit

Permalink
minor #20702 [WebProfilerBundle] Fix vertical alignment for profiler …
Browse files Browse the repository at this point in the history
…open action (ogizanagi)

This PR was merged into the 3.2 branch.

Discussion
----------

[WebProfilerBundle] Fix vertical alignment for profiler open action

| Q             | A
| ------------- | ---
| Branch?       | 3.2
| Bug fix?      | no, style enhancement
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

### Before

![capture d ecran 2016-11-30 a 16 27 14](https://cloud.githubusercontent.com/assets/2211145/20758585/9d9f73ea-b71a-11e6-90d1-75651c22dee6.png)
![capture d ecran 2016-11-30 a 16 27 34](https://cloud.githubusercontent.com/assets/2211145/20758586/9da03596-b71a-11e6-975c-470ef2ca89e5.png)

### After

![capture d ecran 2016-11-30 a 16 26 48](https://cloud.githubusercontent.com/assets/2211145/20758606/a83e4dbc-b71a-11e6-82ea-35b8347ccdef.png)
![capture d ecran 2016-11-30 a 16 27 54](https://cloud.githubusercontent.com/assets/2211145/20758605/a83b2470-b71a-11e6-986c-1ab593a989ea.png)

Commits
-------

44a0ef1 [WebProfilerBundle] Fix vertical alignment for profiler open action
  • Loading branch information
fabpot committed Dec 2, 2016
2 parents 2e780b6 + 44a0ef1 commit 8c22de4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Expand Up @@ -31,21 +31,23 @@ body {
background-color: #222;
position: fixed;
top: 0;
display: flex;
width: 100%;
}
.header h1 {
float: left;
color: #FFF;
font-weight: normal;
font-size: 21px;
margin: 0;
padding: 10px 10px 8px;
word-break: break-all;
}

a.doc {
float: right;
color: #FFF;
text-decoration: none;
margin: auto;
margin-right: 10px;
}

a.doc:hover {
Expand Down
Expand Up @@ -8,8 +8,8 @@

{% block body %}
<div class="header">
<a class="doc" href="https://symfony.com/doc/{{ constant('Symfony\\Component\\HttpKernel\\Kernel::VERSION') }}/reference/configuration/framework.html#ide" rel="help">Open in your IDE?</a>
<h1>{{ file }} <small>line {{ line }}</small></h1>
<a class="doc" href="https://symfony.com/doc/{{ constant('Symfony\\Component\\HttpKernel\\Kernel::VERSION') }}/reference/configuration/framework.html#ide" rel="help">Open in your IDE?</a>
</div>
<div class="source">
{{ filename|file_excerpt(line, -1) }}
Expand Down

0 comments on commit 8c22de4

Please sign in to comment.