diff --git a/README.md b/README.md index ea99114e..f0e1b2b2 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ class ButtonClicker(rio.Component): # Create an App and tell it to display a ButtonClicker when it starts app = rio.App(build=ButtonClicker) -app.run_in_browser() # Alternatively, use `app.run_in_window()` +app.run_in_browser() # Or `app.run_in_window()` to run as local app! ``` ## Installation 🛠️ diff --git a/frontend/css/style.scss b/frontend/css/style.scss index a21b7a88..998992ad 100644 --- a/frontend/css/style.scss +++ b/frontend/css/style.scss @@ -2038,6 +2038,8 @@ textarea:not(:placeholder-shown) ~ .rio-input-box-label, } .rio-traceback-traceback { + pointer-events: auto; + font-family: $monospace-fonts; font-size: 0.9rem; white-space: pre-wrap; @@ -2322,6 +2324,8 @@ textarea:not(:placeholder-shown) ~ .rio-input-box-label, } .rio-dev-tools-background::after { + pointer-events: none; + content: ''; position: absolute; display: block; diff --git a/rio/app.py b/rio/app.py index 8873a138..4bfec897 100644 --- a/rio/app.py +++ b/rio/app.py @@ -36,6 +36,7 @@ def make_default_connection_lost_component() -> rio.Component: ), rio.Text( "Disconnected", + selectable=False, style=rio.TextStyle( fill=self.session.theme.hud_palette.foreground, font_weight="bold", diff --git a/rio/snippets/snippet-files/project-template-Crypto Dashboard/pages/dashboard_page.py b/rio/snippets/snippet-files/project-template-Crypto Dashboard/pages/dashboard_page.py index b86d2d18..480a2fe4 100644 --- a/rio/snippets/snippet-files/project-template-Crypto Dashboard/pages/dashboard_page.py +++ b/rio/snippets/snippet-files/project-template-Crypto Dashboard/pages/dashboard_page.py @@ -1,8 +1,8 @@ +# import dataclasses from pathlib import Path from typing import * # type:ignore -# import numpy as np import pandas as pd from pycoingecko import CoinGeckoAPI