This commit is contained in:
seb
2026-10-07 14:01:34 +02:00
parent 8f46e59f08
commit ee2056a159
2 changed files with 65 additions and 51 deletions

View File

@@ -893,7 +893,6 @@ export default class ChatDrawer extends PureComponent {
)} )}
<Box sx={{ display: 'flex', alignItems: 'center', gap: 0.5, ml: 1, flexShrink: 0 }}> <Box sx={{ display: 'flex', alignItems: 'center', gap: 0.5, ml: 1, flexShrink: 0 }}>
<Tooltip title={isVfsOpen ? 'Dateien schließen' : 'Dateien parallel öffnen'}>
<IconButton <IconButton
size="small" size="small"
onClick={() => vfsAutomat.actions.toggleVfs()} onClick={() => vfsAutomat.actions.toggleVfs()}
@@ -913,7 +912,6 @@ export default class ChatDrawer extends PureComponent {
> >
<FolderOpenRoundedIcon sx={{ fontSize: 19 }} /> <FolderOpenRoundedIcon sx={{ fontSize: 19 }} />
</IconButton> </IconButton>
</Tooltip>
<IconButton size="small" onClick={this.handleClose} aria-label="Chat schließen" sx={{ p: 0.5 }}> <IconButton size="small" onClick={this.handleClose} aria-label="Chat schließen" sx={{ p: 0.5 }}>
<CloseRoundedIcon fontSize="small" /> <CloseRoundedIcon fontSize="small" />

View File

@@ -17,11 +17,12 @@ import { BrandLabel } from '../brand';
import { thumb } from '../../api'; import { thumb } from '../../api';
import { import {
GREEN_BRIGHT, GREEN_BRIGHT,
ICE,
INK_STRONG, INK_STRONG,
SCRIM_LABEL, SCRIM_LABEL,
SCRIM_TILE, SCRIM_TILE,
TEXT_GLOW_DARK, TEXT_GLOW_DARK,
TEXT_GLOW_LIGHT, VEIL_MUTED,
WHITE, WHITE,
} from '../../colors'; } from '../../colors';
@@ -410,7 +411,6 @@ export class ArticleTile extends Tile {
{/* Row 1: Brand */} {/* Row 1: Brand */}
<Box <Box
sx={{ sx={{
height: 18,
minHeight: 18, minHeight: 18,
display: 'flex', display: 'flex',
alignItems: 'center', alignItems: 'center',
@@ -425,28 +425,43 @@ export class ArticleTile extends Tile {
spacing={0.5} spacing={0.5}
typographyProps={{ typographyProps={{
variant: 'caption', variant: 'caption',
noWrap: true,
sx: { sx: {
color: INK_STRONG, color: ICE,
fontWeight: 600, fontWeight: 600,
lineHeight: 1.2, lineHeight: 1.25,
px: '4px',
py: '2px', py: '2px',
textShadow: TEXT_GLOW_LIGHT, mx: '-2px',
overflow: 'visible',
textShadow: TEXT_GLOW_DARK,
}, },
}} }}
/> />
) : null} ) : null}
</Box> </Box>
{/* Rows 2 & 3: Name */} {/* Rows 2 & 3: Name inside transparent whitish band */}
<Box
sx={{
mx: -1,
px: 1,
py: '2px',
my: 0.25,
bgcolor: VEIL_MUTED,
backdropFilter: 'blur(4px)',
WebkitBackdropFilter: 'blur(4px)',
}}
>
<Typography <Typography
variant="body2" variant="body2"
fontWeight={600} fontWeight={650}
sx={{ sx={{
color: INK_STRONG, color: INK_STRONG,
lineHeight: 1.2, lineHeight: 1.2,
height: '2.4em', height: '2.4em',
textShadow: TEXT_GLOW_LIGHT, px: '4px',
mx: '-4px',
textShadow: '0 0 3px rgba(255, 255, 255, 0.9), 0 0 6px rgba(255, 255, 255, 0.7)',
display: '-webkit-box', display: '-webkit-box',
WebkitLineClamp: 2, WebkitLineClamp: 2,
WebkitBoxOrient: 'vertical', WebkitBoxOrient: 'vertical',
@@ -456,6 +471,7 @@ export class ArticleTile extends Tile {
> >
{label || article?.name?.trim() || '\u00A0'} {label || article?.name?.trim() || '\u00A0'}
</Typography> </Typography>
</Box>
{/* Row 4: SKU */} {/* Row 4: SKU */}
<Typography <Typography