[TASK] Add margin next to icon in trees 87/44387/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 30 Oct 2015 10:38:59 +0000 (11:38 +0100)
committerMathias Schreiber <mathias.schreiber@wmdb.de>
Fri, 30 Oct 2015 12:07:50 +0000 (13:07 +0100)
This adds a small margin at the right side of icons used in a CSS-based tree.
Such a tree can be found at the "New record" view.

Resolves: #70354
Releases: master
Change-Id: Ie252c46f6a998bb36987ae8d24259e7730f2ace0
Reviewed-on: https://review.typo3.org/44387
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Build/Resources/Public/Less/TYPO3/_element_tree.less
typo3/sysext/t3skin/Resources/Public/Css/backend.css

index 48088f6..02c399b 100644 (file)
                padding-left: @tree-indentation;
                line-height: @tree-line-height;
                position: relative;
+
+               .icon {
+                       margin-right: 2px;
+               }
        }
 }
 .list-tree-group {
index 86b55da..2ae7833 100644 (file)
@@ -11219,6 +11219,9 @@ div.t3-form-field-container:first-child .t3-form-field-label-flex {
   width: 11px;
   bottom: 0;
 }
+.list-tree li .icon {
+  margin-right: 2px;
+}
 .list-tree-group {
   position: relative;
   display: block;