Skip to content

Commit

Permalink
#66 Fix : 노트 필터 섹션 상하 패딩 15.dp -> 10.dp
Browse files Browse the repository at this point in the history
  • Loading branch information
DongChyeon committed Mar 10, 2024
1 parent b26f407 commit cab4d13
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ fun NoteFilterSection(
) {
Column {
HeightSpacerWithLine(
modifier = Modifier.padding(bottom = 15.dp),
modifier = Modifier.padding(bottom = 10.dp),
color = WineyTheme.colors.gray_900
)

Expand Down Expand Up @@ -390,7 +390,7 @@ fun NoteFilterSection(
}

HeightSpacerWithLine(
modifier = Modifier.padding(top = 15.dp),
modifier = Modifier.padding(top = 10.dp),
color = WineyTheme.colors.gray_900
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,17 @@ import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.IntrinsicSize
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.aspectRatio
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.offset
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.Icon
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
Expand Down Expand Up @@ -146,30 +142,16 @@ fun NoteWineCard(
Column(
modifier = Modifier.fillMaxSize()
) {
Row(
Text(
modifier = Modifier.padding(start = 20.dp, top = 10.dp),
verticalAlignment = Alignment.CenterVertically,
horizontalArrangement = Arrangement.spacedBy(5.dp)
) {
Text(
text = convertToNoteType(wineName),
style = TextStyle(
fontFamily = Chaviera,
fontWeight = FontWeight.Normal,
fontSize = 25.sp,
),
color = WineyTheme.colors.gray_50,
)

Icon(
painter = painterResource(id = R.drawable.ic_thismooth),
contentDescription = null,
tint = Color.Unspecified,
modifier = Modifier
.padding(bottom = 5.dp)
.size(13.dp)
)
}
text = convertToNoteType(wineName),
style = TextStyle(
fontFamily = Chaviera,
fontWeight = FontWeight.Normal,
fontSize = 25.sp,
),
color = WineyTheme.colors.gray_50,
)
Image(
painter = painterResource(id = image),
contentDescription = "IMG_SPARKL_WINE",
Expand Down

0 comments on commit cab4d13

Please sign in to comment.