fixed text selection, import & tweaked README

This commit is contained in:
Jakob Pinterits
2024-05-31 14:47:42 +02:00
parent c39fb04ffd
commit 607cd879bd
4 changed files with 7 additions and 2 deletions

View File

@@ -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 🛠️

View File

@@ -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;

View File

@@ -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",

View File

@@ -1,8 +1,8 @@
# <additional-imports>
import dataclasses
from pathlib import Path
from typing import * # type:ignore
# <additional-imports>
import numpy as np
import pandas as pd
from pycoingecko import CoinGeckoAPI