style(menu): remove default list style bullets from menu
This commit is contained in:
@@ -9,7 +9,7 @@ export const fourMenuButton = (engine: BimEngine): MenuItemConfig => {
|
||||
onClick: () => {
|
||||
console.log('dianjile')
|
||||
engine.dialog?.showInfoDialog()
|
||||
engine.rightKey?.hide()
|
||||
engine.engine?.rightKey?.hide()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,7 +12,7 @@ export const homeMenuButton = (engine: BimEngine): MenuItemConfig => {
|
||||
icon: '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="currentColor" d="M12 7q.425 0 .713-.288T13 6t-.288-.712T12 5t-.712.288T11 6t.288.713T12 7m0 8q.425 0 .713-.288T13 14v-4q0-.425-.288-.712T12 9t-.712.288T11 10v4q0 .425.288.713T12 15m-6 3l-2.3 2.3q-.475.475-1.088.213T2 19.575V4q0-.825.588-1.412T4 2h16q.825 0 1.413.588T22 4v12q0 .825-.587 1.413T20 18z"/></svg>',
|
||||
onClick: () => {
|
||||
engine.dialog?.showInfoDialog()
|
||||
engine.rightKey?.hide()
|
||||
engine.engine?.rightKey?.hide()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@ export const infoMenuButton = (engine: BimEngine): MenuItemConfig => {
|
||||
onClick: () => {
|
||||
console.log('dianjile')
|
||||
engine.dialog?.showInfoDialog()
|
||||
engine.rightKey?.hide()
|
||||
engine.engine?.rightKey?.hide()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,7 @@ export const secondMenuButton = (engine: BimEngine): MenuItemConfig => {
|
||||
onClick: () => {
|
||||
console.log('dianjile')
|
||||
engine.dialog?.showInfoDialog()
|
||||
engine.rightKey?.hide()
|
||||
engine.engine?.rightKey?.hide()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,8 @@
|
||||
background: var(--bim-ui_bg_color, #2b2d30);
|
||||
border-radius: 4px;
|
||||
padding: 4px 0;
|
||||
margin: 0; /* 移除默认外边距 */
|
||||
list-style: none; /* 移除列表小圆点 */
|
||||
min-width: 160px;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
|
||||
Reference in New Issue
Block a user