From 80abbe00f6e1fae95648dc1c2369e2bf9e20ca05 Mon Sep 17 00:00:00 2001 From: Sebastien Jourdain Date: Sun, 14 Apr 2024 10:06:36 -0600 Subject: [PATCH] docs(tabler-icons): updated example --- examples/validation/discussion/495.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/examples/validation/discussion/495.py b/examples/validation/discussion/495.py index c1277b59..d48ba219 100644 --- a/examples/validation/discussion/495.py +++ b/examples/validation/discussion/495.py @@ -1,3 +1,7 @@ +""" +pip install trame trame-vuetify +python ./495.py +""" from trame.app import get_server from trame.ui.vuetify3 import VAppLayout from trame.widgets import vuetify3, html, client @@ -6,17 +10,17 @@ # 1. Grab the font server.enable_module( - dict( - styles=[ + { + "styles": [ "https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@3.2.0/dist/tabler-icons.min.css" ] - ) + } ) with VAppLayout(server, full_height=True): # 2. Force .ti font-family - client.Style(".ti.mdi:before{font-family:tabler-icons;}") + client.Style(".ti:before{font-family:tabler-icons!important}") with vuetify3.VContainer(fluid=True, classes="full-height"): # MDI