10000 [WebProfilerBundle] Fix vertical alignment for profiler open action · Padam87/symfony@44a0ef1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 44a0ef1

Browse files
committed
[WebProfilerBundle] Fix vertical alignment for profiler open action
1 parent b5520e9 commit 44a0ef1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/open.css.twig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,23 @@ body {
3131
background-color: #222;
3232
position: fixed;
3333
top: 0;
34+
display: flex;
3435
width: 100%;
3536
}
3637
.header h1 {
37-
float: left;
3838
color: #FFF;
3939
font-weight: normal;
4040
font-size: 21px;
4141
margin: 0;
4242
padding: 10px 10px 8px;
43+
word-break: break-all;
4344
}
4445

4546
a.doc {
46-
float: right;
4747
color: #FFF;
4848
text-decoration: none;
49+
margin: auto;
50+
margin-right: 10px;
4951
}
5052

5153
a.doc:hover {

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/open.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
{% block body %}
1010
<div class="header">
11-
<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>
1211
<h1>{{ file }} <small>line {{ line }}</small></h1>
12+
<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>
1313
</div>
1414
<div class="source">
1515
{{ filename|file_excerpt(line, -1) }}

0 commit comments

Comments
 (0)
0