Skip to content

Commit

Permalink
[fix/#841] fix dialog padding
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Sep 25, 2024
1 parent 38dbedb commit ec770b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ package org.sopt.official.feature.mypage.component

import androidx.annotation.StringRes
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
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.shape.RoundedCornerShape
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
Expand Down Expand Up @@ -73,10 +73,10 @@ fun MyPageDialog(
.background(
color = Gray700,
shape = RoundedCornerShape(10.dp)
),
)
.padding(top = 26.dp, bottom = 12.dp),
horizontalAlignment = Alignment.CenterHorizontally,
) {
Spacer(modifier = Modifier.height(26.dp))
Text(
text = stringResource(id = title),
color = White,
Expand All @@ -93,7 +93,8 @@ fun MyPageDialog(
Row(
modifier = Modifier
.fillMaxWidth()
.padding(horizontal = 7.dp)
.padding(horizontal = 7.dp),
horizontalArrangement = Arrangement.spacedBy(6.dp)
) {
MyPageButton(
modifier = Modifier.weight(1f),
Expand All @@ -107,7 +108,6 @@ fun MyPageDialog(
style = SoptTheme.typography.body14M
)
}
Spacer(modifier = Modifier.width(6.dp))
MyPageButton(
modifier = Modifier.weight(1f),
paddingVertical = 9.dp,
Expand All @@ -119,7 +119,6 @@ fun MyPageDialog(
)
}
}
Spacer(modifier = Modifier.height(12.dp))
}
}
}
Expand Down
1 change: 1 addition & 0 deletions feature/mypage/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
-->
<resources>
<!-- mypage -->
<string name="toolbar_mypage">마이페이지</string>
<string name="mypage_change_nickname">닉네임 변경</string>
<string name="mypage_alert_soptamp_reset_title">미션을 초기화 하실건가요?</string>
<string name="mypage_alert_soptamp_reset_subtitle">사진, 메모가 삭제되고\n전체 미션이 미완료상태로 초기화됩니다.</string>
Expand Down

0 comments on commit ec770b6

Please sign in to comment.