fix: tampilan
Deskripsi: - input komentar diskusi divisi dan umum - jarak top right info detail diskusi divisi dan umum No Issues
This commit is contained in:
@@ -141,6 +141,8 @@ export default function DetailDiscussionGeneral() {
|
|||||||
<SkeletonContent />
|
<SkeletonContent />
|
||||||
:
|
:
|
||||||
<BorderBottomItem
|
<BorderBottomItem
|
||||||
|
descEllipsize={false}
|
||||||
|
width={55}
|
||||||
borderType="bottom"
|
borderType="bottom"
|
||||||
icon={
|
icon={
|
||||||
<View style={[Styles.iconContent, ColorsStatus.lightGreen]}>
|
<View style={[Styles.iconContent, ColorsStatus.lightGreen]}>
|
||||||
@@ -177,6 +179,7 @@ export default function DetailDiscussionGeneral() {
|
|||||||
return (
|
return (
|
||||||
<BorderBottomItem
|
<BorderBottomItem
|
||||||
key={i}
|
key={i}
|
||||||
|
width={55}
|
||||||
borderType="bottom"
|
borderType="bottom"
|
||||||
icon={
|
icon={
|
||||||
<ImageUser src={`https://wibu-storage.wibudev.com/api/files/${item.img}`} size="xs" />
|
<ImageUser src={`https://wibu-storage.wibudev.com/api/files/${item.img}`} size="xs" />
|
||||||
@@ -192,8 +195,9 @@ export default function DetailDiscussionGeneral() {
|
|||||||
</View>
|
</View>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
<View style={[
|
<View style={[
|
||||||
Styles.ph15,
|
Styles.contentItemCenter,
|
||||||
Styles.absolute0,
|
Styles.absolute0,
|
||||||
|
Styles.w100,
|
||||||
{ backgroundColor: "#f4f4f4" },
|
{ backgroundColor: "#f4f4f4" },
|
||||||
]}>
|
]}>
|
||||||
<InputForm
|
<InputForm
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ export default function DiscussionDetail() {
|
|||||||
:
|
:
|
||||||
<BorderBottomItem
|
<BorderBottomItem
|
||||||
descEllipsize={false}
|
descEllipsize={false}
|
||||||
width={60}
|
width={55}
|
||||||
borderType="bottom"
|
borderType="bottom"
|
||||||
icon={
|
icon={
|
||||||
<ImageUser
|
<ImageUser
|
||||||
@@ -267,8 +267,9 @@ export default function DiscussionDetail() {
|
|||||||
</ScrollView>
|
</ScrollView>
|
||||||
<View
|
<View
|
||||||
style={[
|
style={[
|
||||||
Styles.ph15,
|
Styles.contentItemCenter,
|
||||||
Styles.absolute0,
|
Styles.absolute0,
|
||||||
|
Styles.w100,
|
||||||
{ backgroundColor: "#f4f4f4" },
|
{ backgroundColor: "#f4f4f4" },
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ export default function BorderBottomItem({ title, subtitle, icon, desc, onPress,
|
|||||||
<View style={[Styles.rowItemsCenter]}>
|
<View style={[Styles.rowItemsCenter]}>
|
||||||
{icon}
|
{icon}
|
||||||
<View style={[Styles.rowSpaceBetween, width ? { width: lebar } : { width: '88%' }]}>
|
<View style={[Styles.rowSpaceBetween, width ? { width: lebar } : { width: '88%' }]}>
|
||||||
<View style={[Styles.ml10, width ? { width: lebar } : { width: '70%' }]}>
|
<View style={[Styles.ml10, rightTopInfo ? { width: lebar } : { width: '90%' },]}>
|
||||||
<Text style={[titleWeight == 'normal' ? Styles.textDefault : Styles.textDefaultSemiBold, { color: textColor }]} numberOfLines={1} ellipsizeMode='tail'>{title}</Text>
|
<Text style={[titleWeight == 'normal' ? Styles.textDefault : Styles.textDefaultSemiBold, { color: textColor }]} numberOfLines={1} ellipsizeMode='tail'>{title}</Text>
|
||||||
{
|
{
|
||||||
subtitle &&
|
subtitle &&
|
||||||
@@ -41,7 +41,7 @@ export default function BorderBottomItem({ title, subtitle, icon, desc, onPress,
|
|||||||
}
|
}
|
||||||
</View>
|
</View>
|
||||||
{
|
{
|
||||||
rightTopInfo && <Text style={[Styles.textInformation, Styles.mt05, { color: textColor}]}>{rightTopInfo}</Text>
|
rightTopInfo && <Text style={[Styles.textInformation, Styles.mt05, { color: textColor }]}>{rightTopInfo}</Text>
|
||||||
}
|
}
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user