Skip to content

Commit

Permalink
add spacing between job cards
Browse files Browse the repository at this point in the history
This commit adds spacing between job cards in the worker home screen to improve visual separation and readability.
  • Loading branch information
OkelloSam21 committed Aug 15, 2024
1 parent 8dec14e commit db9f9c0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.lazy.LazyRow
import androidx.compose.foundation.lazy.items
import androidx.compose.material.ExperimentalMaterialApi
Expand Down Expand Up @@ -168,6 +169,7 @@ fun JobSection(
job?.let {
JobCard(job = it) { onJobClick(it) }
}
Spacer(modifier = Modifier.width(16.dp))
}
}
}
Expand Down Expand Up @@ -196,7 +198,7 @@ fun RecentPost(
) {
Column {
Text(text = job.title ?: "")
Text(text = job.location ?: "")
Text(text = job.business?.location ?: "")
}
Text(text = "ksh ${job.budget}")
}
Expand Down

0 comments on commit db9f9c0

Please sign in to comment.