Skip to content

Commit 0908155

Browse files
webmozartfabpot
authored andcommitted
Vertically centered the icons in the form tree
1 parent 9dc2cde commit 0908155

File tree

1 file changed

+10
-7
lines changed
  • src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector

1 file changed

+10
-7
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/form.html.twig

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@
4747
}
4848
.tree .tree-inner {
4949
width: 100%;
50-
padding: 5px 7px;
50+
padding: 5px 7px 5px 22px;
5151
border-radius: 6px;
5252
color: #313131;
5353
cursor: pointer;
54+
position: relative;
5455
5556
-webkit-box-sizing: border-box;
5657
-moz-box-sizing: border-box;
@@ -62,20 +63,22 @@
6263
.tree .toggle-button {
6364
width: 10px;
6465
height: 10px;
65-
background: none;
66-
border: none;
66+
position: absolute;
67+
top: 50%;
68+
margin-top: -5px;
69+
margin-left: -15px;
6770
}
6871
.tree ul ul .tree-inner {
69-
padding-left: 22px;
72+
padding-left: 37px;
7073
}
7174
.tree ul ul ul .tree-inner {
72-
padding-left: 37px;
75+
padding-left: 52px;
7376
}
7477
.tree ul ul ul ul .tree-inner {
75-
padding-left: 52px;
78+
padding-left: 67px;
7679
}
7780
.tree ul ul ul ul ul .tree-inner {
78-
padding-left: 67px;
81+
padding-left: 82px;
7982
}
8083
.tree .tree-inner:hover {
8184
background: #dfdfdf;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy