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:
parent
0d52cb1846
commit
692abc07e1
@ -163,19 +163,16 @@ export function ComposeCard({ onPosted }: Props) {
|
|||||||
<Pressable
|
<Pressable
|
||||||
onPress={submit}
|
onPress={submit}
|
||||||
disabled={!content.trim() || posting}
|
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 }) => ({
|
style={({ pressed }) => ({
|
||||||
height: 52,
|
height: 44,
|
||||||
opacity: pressed || !content.trim() || posting ? 0.5 : 1,
|
opacity: pressed || !content.trim() || posting ? 0.5 : 1,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
{posting ? (
|
{posting ? (
|
||||||
<ActivityIndicator size="small" color="#fff" />
|
<ActivityIndicator size="small" color="#fff" />
|
||||||
) : (
|
) : (
|
||||||
<>
|
<Text className="text-white text-base" style={{ fontFamily: 'Nunito_700Bold' }}>{t('community.share')}</Text>
|
||||||
<Ionicons name="paper-plane-outline" size={18} color="#fff" />
|
|
||||||
<Text className="text-white text-base" style={{ fontFamily: 'Nunito_700Bold' }}>{t('community.share')}</Text>
|
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
</Pressable>
|
</Pressable>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
@ -100,7 +100,7 @@ export function HeaderDropdownMenu({ visible, onClose, topOffset = 80 }: Props)
|
|||||||
shadowOpacity: 0.18,
|
shadowOpacity: 0.18,
|
||||||
shadowRadius: 20,
|
shadowRadius: 20,
|
||||||
elevation: 12,
|
elevation: 12,
|
||||||
minWidth: 170,
|
minWidth: 210,
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@ -190,7 +190,6 @@ export function HeaderDropdownMenu({ visible, onClose, topOffset = 80 }: Props)
|
|||||||
style={{ marginRight: 14 }}
|
style={{ marginRight: 14 }}
|
||||||
/>
|
/>
|
||||||
<Text
|
<Text
|
||||||
numberOfLines={1}
|
|
||||||
style={{
|
style={{
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
fontFamily: 'Nunito_600SemiBold',
|
fontFamily: 'Nunito_600SemiBold',
|
||||||
@ -228,7 +227,6 @@ export function HeaderDropdownMenu({ visible, onClose, topOffset = 80 }: Props)
|
|||||||
style={{ marginRight: 14 }}
|
style={{ marginRight: 14 }}
|
||||||
/>
|
/>
|
||||||
<Text
|
<Text
|
||||||
numberOfLines={1}
|
|
||||||
style={{
|
style={{
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
fontFamily: 'Nunito_600SemiBold',
|
fontFamily: 'Nunito_600SemiBold',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user