Skip to content

Custom trestle width#38

Open
monkeywithacupcake wants to merge 4 commits intoseankross:mainfrom
monkeywithacupcake:custom-trestle-width
Open

Custom trestle width#38
monkeywithacupcake wants to merge 4 commits intoseankross:mainfrom
monkeywithacupcake:custom-trestle-width

Conversation

@monkeywithacupcake
Copy link
Copy Markdown

@monkeywithacupcake monkeywithacupcake commented Apr 1, 2021

adds new variable: leftsize to trestle skeleton and html to allow for custom view split on medium and larger screens
closes #36
closes #37

add a custom $leftsize$ variable to the column width bootstrap class
add the $leftsize$ variable to the yaml
checks for $leftsize$ before using it
includes leftsize in trestle yaml example
@monkeywithacupcake
Copy link
Copy Markdown
Author

The default for leftsize is 5 whether or not the user includes the yaml leftsize because the html template checks
If the screen is smaller than md, it stacks.
Else, the left side splits using the leftsize variable, which can be between 0 (invisible) and 12 (the whole width)

Here is an example with leftsize: 3
trestle leftsize 3

Here is an example with leftsize: 8
trestle leftsize 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move trestles sidebar to right Adjust trestles vertical divider

1 participant