Skip to content

Commit

Permalink
优化通知样式
Browse files Browse the repository at this point in the history
  • Loading branch information
baozhoutao committed Jan 13, 2025
1 parent d00a86c commit 850e7c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @Author: [email protected]
* @Date: 2022-09-01 14:44:57
* @LastEditors: [email protected]
* @LastEditTime: 2024-10-10 16:36:14
* @LastEditTime: 2025-01-13 11:17:07
* @Description:
*/

Expand Down Expand Up @@ -60,7 +60,7 @@ const getNotificationBadgeButton = () => {
"name": "notifications",
"items": {
"type": "tpl",
"tpl": `<div class='flex items-center p-4 hover:bg-sky-50'>
"tpl": `<div class='flex items-center p-2 hover:bg-sky-50'>
<img src='<%=data.context.rootUrl + "/avatar/" + data.from%>' alt='' class='h-10 w-10 flex-none rounded-full'>
<div class='ml-4 flex-auto'>
<div class='font-medium'>
Expand Down
4 changes: 4 additions & 0 deletions packages/@steedos-widgets/amis-object/src/styles/steedos.css
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,8 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {

.steedos-amis-form{
padding: var(--Collapse-content-padding);
}

.steedos-header-toolbar-notifications-panel {
margin-bottom: 0px !important;
}

0 comments on commit 850e7c6

Please sign in to comment.