fix(ui): Teilen-Button ohne Icon h:44, Dropdown-Width 170→210pt

ComposeCard:
- paper-plane-Icon entfernt, h:52→44, px-6→5, layout flex-row gap-2 →
  items-center justify-center, only Text. Saubere Pill ohne Icon-Gewicht.
- i18n-Key community.share war schon da — kein neuer Key.

HeaderDropdownMenu:
- minWidth 170→210, numberOfLines={1} auf Item-Labels entfernt (Breite
  reicht jetzt fuer alle Labels). numberOfLines bei SOS-Block-Labels
  bleibt (zwei separate Text-Nodes, sinnvoll).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
chahinebrini 2026-05-07 21:36:37 +02:00
parent 0d52cb1846
commit 692abc07e1
2 changed files with 4 additions and 9 deletions

View File

@ -163,19 +163,16 @@ export function ComposeCard({ onPosted }: Props) {
<Pressable
onPress={submit}
disabled={!content.trim() || posting}
className="px-6 rounded-full bg-rebreak-500 items-center justify-center flex-row gap-2"
className="px-5 rounded-full bg-rebreak-500 items-center justify-center"
style={({ pressed }) => ({
height: 52,
height: 44,
opacity: pressed || !content.trim() || posting ? 0.5 : 1,
})}
>
{posting ? (
<ActivityIndicator size="small" color="#fff" />
) : (
<>
<Ionicons name="paper-plane-outline" size={18} color="#fff" />
<Text className="text-white text-base" style={{ fontFamily: 'Nunito_700Bold' }}>{t('community.share')}</Text>
</>
)}
</Pressable>
</View>

View File

@ -100,7 +100,7 @@ export function HeaderDropdownMenu({ visible, onClose, topOffset = 80 }: Props)
shadowOpacity: 0.18,
shadowRadius: 20,
elevation: 12,
minWidth: 170,
minWidth: 210,
overflow: 'hidden',
}}
>
@ -190,7 +190,6 @@ export function HeaderDropdownMenu({ visible, onClose, topOffset = 80 }: Props)
style={{ marginRight: 14 }}
/>
<Text
numberOfLines={1}
style={{
fontSize: 14,
fontFamily: 'Nunito_600SemiBold',
@ -228,7 +227,6 @@ export function HeaderDropdownMenu({ visible, onClose, topOffset = 80 }: Props)
style={{ marginRight: 14 }}
/>
<Text
numberOfLines={1}
style={{
fontSize: 14,
fontFamily: 'Nunito_600SemiBold',