Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: finetuning titlebar look-n-feel for PWA support
The previous patch (675e59c) introduce initial PWA WCO support, this patch finetunes the PWA titlebar support by ensure the bottom border of the titlebar is always visible and fill 100% page (window) width, with the following changes: 1. Use margin instead of padding to ensure 'width' fills 100% page width, so does bottom border. 2. Add extra 1px height to ensure the bottom border won't be covered by the window decoration overlay itself. Remaining PWA stuff: The remaining PWA WCO part have inconsistent color with the actual color that SiYuan('s titlebar) uses, thus to make the PWA titlebar feel native, we still needs to set either: - a "theme-color" `<meta>` attribute (suggested) - a "theme_color" member in the PWA manifest ...which will be a seprated topic that won't be worked on in this patchset.
- Loading branch information