halo/ui
Takagi c5d63b1a8f
fix: toolbar menu being obscured after overflowing (#5930)
#### What type of PR is this?

/kind bug
/area editor
/milestone 2.16.x

#### What this PR does / why we need it:

当工具栏菜单出现溢出时,由于 `justify-content` 会始终保持居中状态,因此会导致溢出的内容被遮挡。

考虑到 [justify-content:safe](https://developer.mozilla.org/zh-CN/docs/Web/CSS/justify-content#safe) 在 safari 上具有兼容性问题,因此修改 HTML 结构,使用 `text-align` 来使菜单居中。

#### How to test it?

测试在菜单栏溢出时,溢出的内容是否被遮挡。

#### Which issue(s) this PR fixes:

Fixes #5926 

#### Does this PR introduce a user-facing change?
```release-note
解决默认编辑器中顶部工具栏菜单溢出后被遮挡的问题
```
2024-05-20 08:54:42 +00:00
..
.changeset Move folder console to ui 2024-02-02 22:22:51 +08:00
.husky Fix the problem of being unable to commit (#5362) 2024-02-18 08:00:16 +00:00
.vscode Move folder console to ui 2024-02-02 22:22:51 +08:00
console-src refactor: optimize auth provider sorting with drag-and-drop support (#5914) 2024-05-20 08:30:42 +00:00
cypress Move folder console to ui 2024-02-02 22:22:51 +08:00
docs feat: add verification function to the notification settings for the mailbox (#5464) 2024-03-26 08:00:07 +00:00
packages fix: toolbar menu being obscured after overflowing (#5930) 2024-05-20 08:54:42 +00:00
public Move folder console to ui 2024-02-02 22:22:51 +08:00
src chore: bump vite to 5.x (#5920) 2024-05-16 06:18:36 +00:00
uc-src feat: require password verification for email updates (#5780) 2024-04-26 10:06:32 +00:00
.editorconfig Move folder console to ui 2024-02-02 22:22:51 +08:00
.env.development Move folder console to ui 2024-02-02 22:22:51 +08:00
.env.production Move folder console to ui 2024-02-02 22:22:51 +08:00
.eslintrc.cjs Generate API docs and regenerate API client (#5742) 2024-04-19 02:34:07 +00:00
.gitignore Move folder console to ui 2024-02-02 22:22:51 +08:00
.gitpod.yml Move folder console to ui 2024-02-02 22:22:51 +08:00
.npmignore Move folder console to ui 2024-02-02 22:22:51 +08:00
.npmrc Move folder console to ui 2024-02-02 22:22:51 +08:00
.prettierignore Generate API docs and regenerate API client (#5742) 2024-04-19 02:34:07 +00:00
Makefile Move folder console to ui 2024-02-02 22:22:51 +08:00
OWNERS Move folder console to ui 2024-02-02 22:22:51 +08:00
README.md Move folder console to ui 2024-02-02 22:22:51 +08:00
build.gradle Support excluding node_modules for idea IDE (#5857) 2024-05-05 06:51:34 +00:00
cypress.json Move folder console to ui 2024-02-02 22:22:51 +08:00
env.d.ts fix: FormKit code input type error (#5522) 2024-03-18 08:24:08 +00:00
index.html refactor: implementation of browser tab title (#5794) 2024-04-25 03:43:10 +00:00
package.json refactor: optimize auth provider sorting with drag-and-drop support (#5914) 2024-05-20 08:30:42 +00:00
pnpm-lock.yaml refactor: optimize auth provider sorting with drag-and-drop support (#5914) 2024-05-20 08:30:42 +00:00
pnpm-workspace.yaml Move folder console to ui 2024-02-02 22:22:51 +08:00
postcss.config.cjs chore: bump vite to 5.x (#5920) 2024-05-16 06:18:36 +00:00
prettier.config.cjs chore: bump vite to 5.x (#5920) 2024-05-16 06:18:36 +00:00
tailwind.config.cjs chore: bump vite to 5.x (#5920) 2024-05-16 06:18:36 +00:00
tsconfig.app.json chore: bump vue related packages version (#5384) 2024-02-22 03:12:07 +00:00
tsconfig.json Move folder console to ui 2024-02-02 22:22:51 +08:00
tsconfig.node.json chore: bump vite to 5.x (#5920) 2024-05-16 06:18:36 +00:00
tsconfig.vitest.json Move folder console to ui 2024-02-02 22:22:51 +08:00
vite.config.ts Add build script for ui project 2024-02-03 22:51:50 +08:00
vite.uc.config.ts Add build script for ui project 2024-02-03 22:51:50 +08:00
vitest.config.ts Add build script for ui project 2024-02-03 22:51:50 +08:00

README.md

README

Halo logo

Halo 2.0 的管理端项目(原 halo-admin

GitHub release GitHub GitHub last commit GitHub Workflow Status Gitpod ready-to-code


当前仓库已经将 halo-admin 改为了 console。但对于 Halo 1.x 版本,依旧保持 halo-admin 的概念。

开发环境运行

npm install -g pnpm@8
pnpm install 
pnpm build:packages
pnpm dev

生产构建

pnpm build

状态

Repobeats analytics