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

"Left/Right Aligned Callout Boxes" issue + altered snippet request #120

Closed
train-con opened this issue Jul 14, 2022 · 13 comments
Closed

"Left/Right Aligned Callout Boxes" issue + altered snippet request #120

train-con opened this issue Jul 14, 2022 · 13 comments
Assignees
Labels
enhancement New feature or request

Comments

@train-con
Copy link

train-con commented Jul 14, 2022

I have been using the "Left/Right Aligned Callout Boxes" snippet for a while now and I'm overall satisfied with it! I use it to replicate a sort of Wikipedia-esque interface for my Obsidian and it does its job.

Issue:
When the box becomes too long (e.g. I create longer lists in a cell), I notice whenever I scroll down the entire thing disappears until I scroll back up again. This may be a problem for me in the future when my database becomes larger.

Requests:
• Slightly extended width boxes
• Remove subheading ("Stat | Info") and leave only the heading

Thanks a million for this snippet!

@train-con train-con added the enhancement New feature or request label Jul 14, 2022
@SlRvb
Copy link
Owner

SlRvb commented Jul 14, 2022

Do you have a screenshot of how long that callout is?

I do wonder if this might be an issue with how obsidian unloads parts of pages if they're long which can sometimes break rendering really long dataviewjs code too 🥴

@SlRvb
Copy link
Owner

SlRvb commented Jul 14, 2022

I'm not sure what you mean by Stat and Info 🤔 that's not a part of the snippet, it's just stuff you can add, change, or remove in the markdown itself.

For width I'll be adding info on the callout guide about callout sizing.

@train-con
Copy link
Author

train-con commented Jul 14, 2022 via email

@train-con
Copy link
Author

train-con commented Jul 14, 2022 via email

@train-con
Copy link
Author

train-con commented Jul 14, 2022 via email

@SlRvb
Copy link
Owner

SlRvb commented Jul 16, 2022

Can you send videos through GitHub or is it only images?

You can send video :) It helps me know what might be going on if I see the error so I can try to replicate it on my end.

@train-con
Copy link
Author

train-con commented Jul 18, 2022

Can you send videos through GitHub or is it only images?

You can send video :) It helps me know what might be going on if I see the error so I can try to replicate it on my end.

Unfortunately I can't seem to send videos at this time. But below is the text I used to test out the problem (by scrolling up and down; slow + fast). I hope this may help as an alternative :)
Screen Shot 2022-07-18 at 1 07 08 AM

@SlRvb
Copy link
Owner

SlRvb commented Jul 21, 2022

Is it possible to paste this notes contents here so I can see what's going on in my own vault?

@train-con
Copy link
Author

Is it possible to paste this notes contents here so I can see what's going on in my own vault?

Of course! Here it is:

[!infobox]


![[miscstock.png]]

||
---|---|
Test | Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test |
Test | Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test |
Test | Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test |


Test Test Test 1










Test Test Test 2










Test Test Test 3










Test Test Test 4










Test Test Test 5










Test Test Test 6










Test Test Test 7









@SlRvb
Copy link
Owner

SlRvb commented Jul 21, 2022

Hmmm, I do see the error. Unloading the note content the further you scroll is something obsidian does for performance reasons. So unfortunately I think this is not something that's possible to fix with css alone.

I might recommend keeping the infobox short and maybe putting the long database query under a heading if you really need to see all that information. Sorry! 🙈

@train-con
Copy link
Author

Hmmm, I do see the error. Unloading the note content the further you scroll is something obsidian does for performance reasons. So unfortunately I think this is not something that's possible to fix with css alone.

I might recommend keeping the infobox short and maybe putting the long database query under a heading if you really need to see all that information. Sorry! 🙈

Thank you for your response, I guess it is what it is.. 😮‍💨

My infoboxes will become quite long in the future so I'm curious on how to implement the long database query under a heading! I'm not exactly the most proficient in coding things, hahah.

@SlRvb
Copy link
Owner

SlRvb commented Jul 22, 2022

Ah it's not too technical really, just a regular note with a heading and the query under it:

# Your heading name here

```dataview
LIST
FROM [[]]
```

Unless you're making really long tables without dataview then it would just be a regular table under that. 🙈

@bojtalepenye
Copy link

So, is there, or will be a solution to this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

3 participants