Skip to content

Commit

Permalink
Revert "feat: 알림 UI 개선" (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinoov committed Aug 9, 2024
1 parent d2037ab commit e23ab39
Showing 1 changed file with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@ 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 @@ -46,7 +43,7 @@ const useStyles = createStyles(() => ({
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
background: '#f1f3f5',
background: 'rgba(0, 0, 0, 0.06)',
borderRadius: '8px',
},
notificationHeader: {
Expand Down Expand Up @@ -127,9 +124,8 @@ export default function Notification() {
<Spin size="small" className={styles.notificationSpinner} />
</div>
) : (
<Button
htmlType="button"
size="small"
<button
type="button"
className={styles.notificationClearButton}
onClick={() => {
updateAllNotiReadStatus(undefined, {
Expand All @@ -140,7 +136,7 @@ export default function Notification() {
}}
>
Clear All
</Button>
</button>
)}
</div>
<div className={styles.dropdownMenu}>{menu}</div>
Expand Down

0 comments on commit e23ab39

Please sign in to comment.