make text selectable (#143)

This commit is contained in:
Michael Baumgarten 2025-01-27 16:49:56 +01:00 committed by GitHub
parent 25b7286a3a
commit 651fdbe50f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ export function Carousel({ pad, items, itemRenderer, itemRemove }) {
<ReactResizeDetector handleWidth={true} handleHeight={false}>
{({ width, height }) => {
return (
<div class="item noselect">
<div class="item">
<div class="asset">{ itemRenderer(items[i], i) }</div>
<RemoveItem index={i} />
</div>

View File

@ -128,7 +128,7 @@ export function Session() {
<ThemeProvider theme={settings.state.colors}>
<SessionWrapper>
{ (state.display === 'xlarge') && (
<div class="desktop-layout noselect">
<div class="desktop-layout">
<div class="left">
<Identity openAccount={openAccount} openCards={openCards} cardUpdated={state.cardUpdated} />
<div class="bottom">
@ -192,7 +192,7 @@ export function Session() {
</div>
)}
{ (state.display === 'large' || state.display === 'medium') && (
<div class="tablet-layout noselect">
<div class="tablet-layout">
<div class="left">
<Identity openAccount={actions.openProfile} openCards={actions.openCards} cardUpdated={state.cardUpdated} />
<div class="bottom">
@ -250,7 +250,7 @@ export function Session() {
</div>
)}
{ (state.display === 'small') && (
<div class="mobile-layout noselect">
<div class="mobile-layout">
<div class="top">
<div class="reframe">
<Channels open={actions.openConversation} active={{