mirror of
https://github.com/rio-labs/rio.git
synced 2026-02-11 08:10:29 -06:00
fixed text selection, import & tweaked README
This commit is contained in:
@@ -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 🛠️
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user