-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix CSS for choice elements in outline docs #1365
Comments
Assigning from Dave to myself as he rolled off the project. Will review backlog and consider priority and whether to include in next sprint or backlog. |
Talked with @david-waltermire-nist Friday. Dave still likely has some WIP code for this issue on his workstation he can get over to us on Tuesday. |
I'm picking this up for the current sprint. |
Below are a few options I've come up with that maintain the same indentation while clearly showing which children belong to a choice. I'm personally leaning towards option 2. Option 1:Deindent the choices to the same position as the other entries using a negative margin, and set a background color to convey which children belong to the choice. Option 2:Same as option 1, but prevent the background from overflowing to the right. Option 3:Add a horizontal line at the same point of indentation, conveying that the elements are not children of the previous elements while maintaining the "cascading" design. |
* Fix CSS for choice elements in outline docs Fixes #1365 * Update docs/assets/scss/schema-docs.scss Co-authored-by: A.J. Stein <[email protected]> --------- Co-authored-by: A.J. Stein <[email protected]>
* Fix CSS for choice elements in outline docs Fixes usnistgov#1365 * Update docs/assets/scss/schema-docs.scss Co-authored-by: A.J. Stein <[email protected]> --------- Co-authored-by: A.J. Stein <[email protected]>
* Fix CSS for choice elements in outline docs Fixes usnistgov#1365 * Update docs/assets/scss/schema-docs.scss Co-authored-by: A.J. Stein <[email protected]> --------- Co-authored-by: A.J. Stein <[email protected]>
* Fix CSS for choice elements in outline docs Fixes usnistgov#1365 * Update docs/assets/scss/schema-docs.scss Co-authored-by: A.J. Stein <[email protected]> --------- Co-authored-by: A.J. Stein <[email protected]>
User Story
As an OSCAL tools developer, in order to better understand the use of
choice
in outline documentation, I want better layout so I can better understand hierarchical options ofchoice
s and their relationships to sibling elements that are siblings (even though they look like children).Goals
We want to adjust the
choice
so, per the example below,condition
andtest-reference
are on the same level of the hierarchy aspre-condition
not indented as children of it.Dependencies
No response
Acceptance Criteria
The text was updated successfully, but these errors were encountered: