Skip to content

Commit

Permalink
feat: 알림 UI 개선 (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinoov authored Aug 9, 2024
1 parent e23ab39 commit c71c8ee
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ const useStyles = createStyles(() => ({
margin: '0',
border: '0',
},
dropdownShape: { display: 'flex', justifyContent: 'center', alignItems: 'center' },

dropdownShape: {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
},
dropdownAvatar: {
padding: '2px',
display: 'flex',
Expand All @@ -43,7 +46,7 @@ const useStyles = createStyles(() => ({
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
background: 'rgba(0, 0, 0, 0.06)',
background: '#f1f3f5',
borderRadius: '8px',
},
notificationHeader: {
Expand Down Expand Up @@ -124,8 +127,9 @@ export default function Notification() {
<Spin size="small" className={styles.notificationSpinner} />
</div>
) : (
<button
type="button"
<Button
htmlType="button"
size="small"
className={styles.notificationClearButton}
onClick={() => {
updateAllNotiReadStatus(undefined, {
Expand All @@ -136,7 +140,7 @@ export default function Notification() {
}}
>
Clear All
</button>
</Button>
)}
</div>
<div className={styles.dropdownMenu}>{menu}</div>
Expand Down

0 comments on commit c71c8ee

Please sign in to comment.