-
Notifications
You must be signed in to change notification settings - Fork 33
feat: improve challenge pages ui and format html content #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Personally, 我希望用户能一眼纵览所有信息:代码,test case,结果(尤其是考虑到页面完全足够容纳它们)。所以结果放在下面和 tab 里我觉得不 ok 我同意你说的一开始右侧空间没东西的问题。你觉得把 test case 放右边如何?然后结果放 test case 下面。这么改两个需求都兼顾了 |
可以的,我用 Figma 简单撸了个原型。 桌面端就左右布局: 移动端就还是纵向布局: 你觉得怎么样? @laike9m |
大佬太强了!Looks great!我们就按这个来吧 |
@laike9m 已重新调整,有空可以再看看 |
辛苦,明天看 |
LGTM! 非常感谢! |
@100gle 想问一下你用的是哪个 formatter?我这边 HTML auto format 不会把 block 里面的内容 indent,所以想看一下你用的什么 |
@laike9m 😂 实际上是我手动 Format 的,不过搜了一下这个项目 https://github.com/Riverside-Healthcare/djlint 好像可以提供 formatter 的方式,晚点有空我研究看看 |
好的,之前我也看了 djlint,感觉是最好的。那就顺便统一一下 formatter 好了,它能用 pyproject.toml 配置也挺方便的 |
Desktop layout(light/dark):
Mobile layout(light/dark):