Skip to content

Commit

Permalink
老手机上点击列表页右上角的按钮,下面不会弹出新建等功能菜单
Browse files Browse the repository at this point in the history
  • Loading branch information
tujiajun committed May 31, 2024
1 parent dde89b1 commit 11c73af
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
11 changes: 3 additions & 8 deletions packages/@steedos-widgets/amis-lib/src/lib/buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,21 +382,16 @@ const getDropdown = (dropdownButtons)=>{
"hideCaret": true,
"className": "mr-0 steedos-mobile-header-drop-down",
"closeOnClick": true,
"menuClassName": "buttons-drawer fixed inset-0 bg-none border-0 shadow-none",
"menuClassName": "buttons-drawer fixed bg-none border-0 shadow-none",
"align": "right",
"body": [
{
"type": "action",
"style": {
"position": "fixed",
"top": 0,
"right": 0,
"bottom": 0,
"left": 0,
"z-index": 1,
"background": "var(--Drawer-overlay-bg)",
"height": "unset",
"width": "unset",
"height": "100%",
"width": "100%",
"padding": "0",
"margin": "0",
"border-radius": "0"
Expand Down
10 changes: 10 additions & 0 deletions packages/@steedos-widgets/amis-object/src/styles/steedos.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@
overflow: inherit !important;
} */

.buttons-drawer{
top: 0 !important;
bottom: 0 !important;
left: 0 !important;
right: 0 !important;
max-height: unset;
padding: 0;
margin: 0;
}

.buttons-drawer .antd-ButtonGroup button{
border-color: #c9c9c9;
border-right: none !important;
Expand Down

0 comments on commit 11c73af

Please sign in to comment.