Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 11bfda6

Browse filesBrowse files
committed
[WebProfilerBundle] Vertically centered the icons in the form tree
1 parent 52b1620 commit 11bfda6
Copy full SHA for 11bfda6

File tree

Expand file treeCollapse file tree

1 file changed

+10
-7
lines changed
Filter options
  • src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector
Expand file treeCollapse file tree

1 file changed

+10
-7
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/form.html.twig
+10-7Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.