Dateien nach "frontend/src" hochladen
This commit is contained in:
@@ -459,14 +459,14 @@ function QuickLinks({ toast, mobile }) {
|
||||
|
||||
<a href={l.url} target="_blank" rel="noopener noreferrer"
|
||||
|
||||
style={{ display:'flex', flexDirection:'column', alignItems:'center', justifyContent:'center', gap:4,
|
||||
padding: mobile?'8px 6px':'12px 18px',
|
||||
style={{ display:'flex', flexDirection:'column', alignItems:'center', justifyContent:'center', gap:3,
|
||||
padding: mobile?'6px 4px':'8px 12px',
|
||||
background:'rgba(255,255,255,0.04)',
|
||||
border:'1px solid rgba(255,255,255,0.08)', borderRadius:10,
|
||||
textDecoration:'none', height: mobile?72:90, cursor:'pointer' }}>
|
||||
textDecoration:'none', height: mobile?58:72, cursor:'pointer' }}>
|
||||
{l.icon && l.icon.startsWith('http')
|
||||
? <img src={l.icon} alt="" style={{width:26,height:26,objectFit:'contain'}} onError={e=>e.target.style.display='none'}/>
|
||||
: <span style={{ fontSize:26 }}>{l.icon}</span>}
|
||||
? <img src={l.icon} alt="" style={{width:mobile?20:24,height:mobile?20:24,objectFit:'contain'}} onError={e=>e.target.style.display='none'}/>
|
||||
: <span style={{ fontSize:mobile?20:22 }}>{l.icon}</span>}
|
||||
<span style={{ color:'rgba(255,255,255,0.65)', fontSize:9, fontFamily:'monospace',
|
||||
maxWidth:64, overflow:'hidden', textOverflow:'ellipsis', whiteSpace:'nowrap' }}>{l.title}</span>
|
||||
</a>
|
||||
@@ -610,14 +610,12 @@ function Notepad({ toast }) {
|
||||
return (
|
||||
<div style={{ ...S.card }}>
|
||||
<button onClick={()=>setIsOpen(v=>!v)} style={{width:'100%',background:'transparent',border:'none',
|
||||
display:'flex',justifyContent:'space-between',alignItems:'center',cursor:'pointer',padding:0}}>
|
||||
<div style={{display:'flex',alignItems:'center',gap:8}}>
|
||||
<div style={S.head}>NOTIZEN</div>
|
||||
{content.length > 0 && (
|
||||
<span style={{color:'#4ecdc4',fontFamily:'monospace',fontSize:10}}>{content.length} Zeichen</span>
|
||||
)}
|
||||
</div>
|
||||
<span style={{color:'rgba(255,255,255,0.4)',fontSize:11,display:'inline-block',
|
||||
display:'flex',alignItems:'center',gap:8,cursor:'pointer',padding:0}}>
|
||||
<div style={S.head}>NOTIZEN</div>
|
||||
{content.length > 0 && (
|
||||
<span style={{color:'#4ecdc4',fontFamily:'monospace',fontSize:10}}>({content.length} Zeichen)</span>
|
||||
)}
|
||||
<span style={{color:'rgba(255,255,255,0.4)',fontSize:11,display:'inline-block',marginLeft:'auto',
|
||||
transform:isOpen?'rotate(90deg)':'rotate(0)',transition:'transform 0.2s'}}>▶</span>
|
||||
</button>
|
||||
{isOpen && <div style={{ color: saved ? 'rgba(78,205,196,0.5)' : 'rgba(255,230,109,0.6)',
|
||||
|
||||
Reference in New Issue
Block a user