Skip to content
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

Custom trestle width #38

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

monkeywithacupcake
Copy link

@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
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