fixed button padding for web vitals
This commit is contained in:
parent
660fbf443d
commit
c4d590f13a
4 changed files with 4 additions and 9 deletions
|
|
@ -23,13 +23,7 @@
|
||||||
<!-- template element holding a button that needs to be injected when JavaScript is finally available. Source: https://web.dev/website-navigation/ -->
|
<!-- template element holding a button that needs to be injected when JavaScript is finally available. Source: https://web.dev/website-navigation/ -->
|
||||||
|
|
||||||
<template id="burger-template">
|
<template id="burger-template">
|
||||||
<button
|
<button type="button" aria-expanded="false" aria-label="Menu" aria-controls="mainnav">
|
||||||
type="button"
|
|
||||||
aria-expanded="false"
|
|
||||||
aria-label="Menu"
|
|
||||||
aria-controls="mainnav"
|
|
||||||
class=""
|
|
||||||
>
|
|
||||||
<span>Menu</span>
|
<span>Menu</span>
|
||||||
<svg width="24" height="24" aria-hidden="true">
|
<svg width="24" height="24" aria-hidden="true">
|
||||||
<path
|
<path
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@ pre[class*='language-'] {
|
||||||
}
|
}
|
||||||
|
|
||||||
.codepen {
|
.codepen {
|
||||||
padding: var(--space-sm);
|
padding: var(--space-xs);
|
||||||
color: var(--color-text-accent);
|
color: var(--color-text-accent);
|
||||||
border: 2px dashed var(--color-bg-accent);
|
border: 2px dashed var(--color-bg-accent);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -101,6 +101,7 @@ nav.navbar button {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
padding: var(--space-xs) 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav.navbar span {
|
nav.navbar span {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
.prose {
|
.prose {
|
||||||
--flow-space: var(--space-l-xl);
|
--flow-space: var(--space-m-l);
|
||||||
--wrapper-max-width: 55rem;
|
--wrapper-max-width: 55rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue