File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ const Text = ({
4848 < Box
4949 display = "inline-flex"
5050 alignItems = "center"
51+ verticalAlign = "bottom"
5152 my = { my }
5253 mt = { mt }
5354 mb = { mb }
@@ -57,10 +58,18 @@ const Text = ({
5758 { ...iconTextWrapperProps }
5859 >
5960 < Box
60- display = "flex"
61- alignItems = "center"
6261 color = { iconColor }
62+ width = { `${ iconSize } px` }
63+ height = { `${ iconSize } px` }
6364 mr = { 2 }
65+ position = "relative"
66+ _css = { {
67+ svg : {
68+ position : 'absolute' ,
69+ top : 0 ,
70+ left : 0 ,
71+ } ,
72+ } }
6473 { ...iconWrapperProps }
6574 >
6675 < Icon size = { iconSize } />
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const FileItem = ({ file, depth = 0 }) => (
7777 < Text
7878 fontSize = { 1 }
7979 icon = { file . children . length ? Folder : File }
80- iconSize = "18px"
80+ iconSize = { 18 }
8181 >
8282 { file . name }
8383 { file . size !== undefined ? (
You can’t perform that action at this time.
0 commit comments