Skip to content
Discussion options

You must be logged in to vote

From fiddling with the playground , I found that putting a style="height: 100vh; overflow-y: auto" onto the content fixes this!

from trame.ui.vuetify3 import SinglePageWithDrawerLayout
from trame.widgets import vuetify3 as vuetify, html
from trame.app import get_server

server = get_server(client_type="vue3")

def gui_setup():
    with SinglePageWithDrawerLayout(server, full_height=True) as layout:
        layout.title.set_text("Title here")
        with layout.toolbar:
            vuetify.VSpacer()
            html.P("More text here")
        with layout.content:
            with vuetify.VContainer(style="height: 100vh; overflow-y: auto"):
                for i in range(100):
           …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by adhamrait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants