Merge pull request 'Fix display on iOS by not relying on default button padding' (#33) from header-display into main

Reviewed-on: https://codeberg.org/macchiato/pages/pulls/33
file-group-page
bat 3 years ago
commit f7fd22d2e4

@ -77,8 +77,8 @@ export class Header extends HTMLElement {
:host { :host {
background: #111; background: #111;
color: #ddd; color: #ddd;
display: flex; display: grid;
flex-direction: row; grid-template-columns: min-content min-content 1fr min-content min-content;
padding: 0 4px; padding: 0 4px;
} }
button { button {
@ -86,10 +86,7 @@ export class Header extends HTMLElement {
background: inherit; background: inherit;
color: inherit; color: inherit;
font-size: 30px; font-size: 30px;
width: 32px; padding: 0 8px;
}
div.divider {
flex-grow: 1;
} }
div.menu { div.menu {
position: fixed; position: fixed;

@ -10,7 +10,7 @@ async function initCache() {
'/components/nav-menu.js', '/components/nav-menu.js',
'/components/page-menu.js', '/components/page-menu.js',
'/components/dialog.js', '/components/dialog.js',
]) //6 ]) //7
} }
self.addEventListener("install", event => { self.addEventListener("install", event => {

Loading…
Cancel
Save