CSS Fix: My title is displayed at the wrong position on Webkit browsers #825

已手动合并
igalic 已将来自 quentin/Plume:pr/flex 的 1 提交合并入 main 2020-09-29 07:15:07 +00:00
贡献者

On Firefox (Gecko), the following CSS instruction puts the title block at the bottom of the header:

main header.article>div:not(.shadow) {
  justify-content: end;
}

But under Webkit Browsers, such instruction is ignored:

broken header

Patching it to the following however solves the problem:

main header.article>div:not(.shadow) {
  justify-content: flex-end;
}

fixed!

Some disclaimers about this pull request:

  • I have not yet tested the patch and this fix might have been done at the wrong place
  • The fix might be needed in other places, especially in the other included theme
  • I don't understand exactly why Gecko and Webkit do not behave the same in this case
On Firefox (Gecko), the following CSS instruction puts the title block at the bottom of the header: ```css main header.article>div:not(.shadow) { justify-content: end; } ``` But under Webkit Browsers, such instruction is ignored: ![broken header](https://git.joinplu.me/attachments/a12d6162-9eca-4134-88c8-01007eb8b41e) Patching it to the following however solves the problem: ```css main header.article>div:not(.shadow) { justify-content: flex-end; } ``` ![fixed!](https://git.joinplu.me/attachments/4f49100d-a3e7-45a3-b80e-9e04ef56253e) Some disclaimers about this pull request: - I have not yet tested the patch and this fix might have been done at the wrong place - The fix might be needed in other places, especially in the other included theme - I don't understand exactly why Gecko and Webkit do not behave the same in this case
igalic2020-09-28 11:14:54 +00:00 批准此合并请求
igalic 手动合并提交 003dcf861amain 2020-09-29 07:15:07 +00:00
quentin2022-04-23 20:42:42 +00:00 删除了分支 pr/flex
登录 并参与到对话中。
无评审员
未选择里程碑
暂无项目
未指派成员
2 位参与者
通知
到期时间
到期日期无效或超出范围。请使用“yyyy-mm-dd”格式。

未设置到期时间。

依赖工单

没有设置依赖项。

引用:Plume/Plume#825
没有提供说明。