Comments (5)
If users want to preserve whitespace, then they should set white_space="pre"
css prop
rx.section(
rx.heading("This is not pre formatted"),
rx.heading("This is pre formatted", white_space="pre"),
)
from reflex.
Should we set it as default?
from reflex.
Should we set it as default?
I would lean toward no. I think we should stick with the browser defaults where possible, which is to collapse whitespace.
from reflex.
Sounds good, I will just make some minor changes to the doc
from reflex.
Closed
from reflex.
Related Issues (20)
- Shouldn't allow password and tokens as CLI arguments HOT 1
- Add rx.SessionStorage() for token storage
- Configurable Number of Gunicorn Workers
- [REF-2879] rx._x.client_state: `set` property does not allow setting a specific value HOT 1
- Need a basic template.
- Telemetry bug HOT 1
- [REF-2887] [Unconfirmed] Updating a field in an object in a collection of rx.Base models does not send delta
- Can't run the basic reflex app on the 'arm64' packages of my M1 chip mac
- [REF-2889] reflex-web benchmarking is failing HOT 3
- about add_hooks: _get_added_hooks make _get_all_hooks's return wrong
- Taking too much for " installing front end packages from config". why? HOT 1
- [REF-2915] Breaking change 0.5.0 -> 0.5.1, inheritance in ComponentState HOT 2
- [REF-2978] Redis CONFIG command disabled in AWS ElastiCache HOT 4
- [REF-2917] `rx.select` jumps page content to an anchor after selecting.
- Normal `State` variable use causes `call-arg` and `arg-type` errors in `mypy`
- rx.select lose their scroll on scroll down or scroll up HOT 2
- on_unmount will run when entering page HOT 1
- [REF-2955] module 'reflex' has no attribute reflex.serializer HOT 2
- [REF-2956] New Auto Port Select Feature is Overriding Config HOT 5
- Can I detect if a client is disconnected within a State's method? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reflex.