commit 8675a2e83990ffccdd2521d4f9eb4c4f7d836df6
parent c484d016c7cbe979a4b8068b8184ab308e0ec03c
Author: Samdal <samdal@protonmail.com>
Date: Thu, 20 Feb 2025 21:55:58 +0100
fix chrome issues
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/_includes/navigation.html b/_includes/navigation.html
@@ -1,5 +1,5 @@
<header aria-hidden="true" class="no-print">
- <a href="/"><img style="margin-bottom: 5px; max-width: 180px; max-height: 244px; image-rendering: crisp-edges;" src="/assets/images/c-programming-language-chito.png" width=180 height=244> </a>
+ <a href="/"><img style="margin-bottom: 5px; margin-left: 0.5em; width: auto; height: 8rem; image-rendering: crisp-edges;" src="/assets/images/c-programming-language-chito.png" width=180 height=244> </a>
<nav role="navigation" aria-hidden="true">
<ul>
{% for item in site.data.navigation.links %}
diff --git a/_sass/_main.scss b/_sass/_main.scss
@@ -13,6 +13,7 @@ body {
min-height: 100vh;
margin: 0;
+ word-break: break-word;
font-family: noto-serfi, serif;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
@@ -132,6 +133,7 @@ header {
flex-basis:10rem;
flex-grow:1;
position:relative;
+ word-break: keep-all;
}
header a {