Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

部分元素组件后会附带一个空行 #52

Closed
LIlGG opened this issue Sep 19, 2023 · 1 comment · Fixed by #53
Closed

部分元素组件后会附带一个空行 #52

LIlGG opened this issue Sep 19, 2023 · 1 comment · Fixed by #53
Assignees
Labels
kind/improvement Categorizes issue or PR as related to a improvement.

Comments

@LIlGG
Copy link
Member

LIlGG commented Sep 19, 2023

部分元素组件,例如 AudioVideo 等元素,为了支持左对齐、居中等情况,使用了 inline 作为 group,但元素本身又是 block, 因此会导致元素后会多出一行。

计划将这些元素本身改为 display: inline-block,这样元素组件下方将不再附带空行。

/kind improvement

@f2c-ci-robot f2c-ci-robot bot added the kind/improvement Categorizes issue or PR as related to a improvement. label Sep 19, 2023
@LIlGG
Copy link
Member Author

LIlGG commented Sep 19, 2023

/assign

f2c-ci-robot bot pushed a commit that referenced this issue Sep 20, 2023
…ck (#53)

#### What type of PR is this?

/kind improvement

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

将部分块元素改为内联块,用以解决元素后带有空行的问题

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

Fixes #52 

#### Does this PR introduce a user-facing change?
```release-note
解决部分元素后带有空行的问题
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/improvement Categorizes issue or PR as related to a improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant