opentiny / opentiny/tiny-engine

🐛 [Bug]: 输出的代码顶层带了个div,这个要能添加样式且出码的时候能在,因为实际场景中,我们会配置侧边导航,会用height: 100%;目前大多数市面上的后台管理系统antdesign pro多有将#app设置高度100%,才方便内容编排

Open
#339 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Vue
Stars
2.8k
Forks
476
Avg merge
17h 35m
Merged PRs (30d)
1

Description

Environment

chrome

Version

latest

Version

latest

Link to minimal reproduction

代码顶层带了个div,希望有地方定制样式并且输出后能保留,最好默认就height: 100%;,输出也在

Step to reproduce

What is expected

No response

What is actually happening

No response

Any additional comments (optional)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name any source files, tests, or entry points. Start by locating the code-generation path responsible for the top-level div and compare the generated output with the requested styling behavior. Done means the top-level element can be styled, is retained in generated code, and supports the requested height behavior.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.