You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
liuderchi
changed the title
Outline view: <li> indentation is larger than expected when having no children
Outline View: <li> indentation is larger than expected when having no children
Apr 26, 2018
thanks for the report @liuderchi! like @laughedelic mentioned, this is a duplicate of #176 so i'm going to close. this is on @wbinnssmith's radar but he's currently out. i'm sure he would love to come back to a PR though (:
Description
Given 2 list items at same level (having same parent node) A and B with
<li>
A having no children<li>
B having some childrenfound that their indentation (or
padding-left
) are not equal.Expected Behavior
<li>
A has same indentation as<li>
BActual Behavior
padding-left
of<li>
A is larger than<li>
BIn this example where
<li>
A is<head>
,<li>
B is<body>
Additional Details
<head>
having some children, it's applied with style from atom core (padding-left: 28px;
)<head>
having no children, it's applied this style from outline-view (padding-left: 40px;
)Versions
The text was updated successfully, but these errors were encountered: