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

minor tweaks to split gutter #100

Merged
merged 1 commit into from
Aug 2, 2023
Merged

minor tweaks to split gutter #100

merged 1 commit into from
Aug 2, 2023

Conversation

swyxio
Copy link
Contributor

@swyxio swyxio commented Jul 31, 2023

i also tried to add a vertical gutter, but the gutter showed up but couldnt get the resizing to work, so i dropped it since nobody's really asking for it

Comment on lines -16 to -36
/* account for the arrow */
--actual-height: calc(100vh - 12px - 80px);
}

.myarrow {
position: relative;
padding: 12px 0 0 0;
}

.myarrow:before {
content: '';
height: 0;
width: 0;
border-width: 0 8px 12px 8px;
border-style: solid;
border-color: transparent transparent white transparent;
position: absolute;

top: 0;
left: 50%;
transform: translateX(-50%);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this arrow is a nice effect but usually is off so i am killing it

@@ -41,6 +41,8 @@ log.info('panes', panes);
const splitInstance = Split(panes, {
direction: 'horizontal',
minSize: 0,
gutterSize: 3,
Copy link
Contributor Author

@swyxio swyxio Jul 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smol gutters!

@swyxio swyxio requested a review from seanoliver July 31, 2023 15:39
@swyxio swyxio merged commit 107da36 into main Aug 2, 2023
1 check passed
@swyxio swyxio deleted the tweakSplitGutter branch August 2, 2023 16:52
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.

1 participant