aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2021-07-21 13:06:14 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2021-07-21 13:06:14 -0500
commit1e0a5ddfe2379d80d7c7fcc049077977b695593c (patch)
tree6a8727069e1c96c35d7fb89d0d0ce1d45e9bb67b
parentb880246ca5a0143f90ee3484f775ad9e97a2a55b (diff)
downloadhomepage-1e0a5ddfe2379d80d7c7fcc049077977b695593c.tar.xz
homepage-1e0a5ddfe2379d80d7c7fcc049077977b695593c.zip
Add a code scroll bar for small UIs
-rw-r--r--components/Markdown/markdown.module.scss15
-rw-r--r--pages/logs/index.tsx2
-rw-r--r--posts/packaging-nebula-for-debian/main.md4
3 files changed, 17 insertions, 4 deletions
diff --git a/components/Markdown/markdown.module.scss b/components/Markdown/markdown.module.scss
index ebd372c..e1debd1 100644
--- a/components/Markdown/markdown.module.scss
+++ b/components/Markdown/markdown.module.scss
@@ -73,6 +73,10 @@
pre {
padding: 0.5rem 1.0rem;
margin: 0.5rem 0;
+ box-sizing: border-box;
+ }
+ pre > code {
+ padding: 0;
}
code, pre {
@@ -80,6 +84,17 @@
border-radius: 5px;
}
+ pre {
+ overflow: auto;
+ box-sizing: border-box;
+ }
+
+ @media screen and (max-width: 700px) {
+ pre {
+ padding-bottom: 0.7rem;
+ }
+ }
+
li {
line-height: 1.15;
margin-left: 1em;
diff --git a/pages/logs/index.tsx b/pages/logs/index.tsx
index fa74aa4..a10fdee 100644
--- a/pages/logs/index.tsx
+++ b/pages/logs/index.tsx
@@ -23,7 +23,7 @@ const Logs : FC<Props> = ({ posts }) => {
<ul className={styles.logList}>
{
posts.map(({ directory, meta }) => (
- <li><a href={'/logs/' + directory}>{meta.name}</a></li>
+ <li key={directory}><a href={'/logs/' + directory}>{meta.name}</a></li>
))
}
</ul>
diff --git a/posts/packaging-nebula-for-debian/main.md b/posts/packaging-nebula-for-debian/main.md
index d1c178f..f4b1651 100644
--- a/posts/packaging-nebula-for-debian/main.md
+++ b/posts/packaging-nebula-for-debian/main.md
@@ -1,7 +1,5 @@
Packaging Nebula for Debian
-=================
-
-> **Created:** 2021-07-18 **Last Updated:** 2021-07-19
+===========================
I am close to concluding a multi-week endevor to package [Nebula](https://github.com/slackhq/nebula), a VPN-style network mesh networking overlay. If all goes well, it will be uploaded to `debian/experimental` within the next few days. This would also mean the package would be pulled into Ubuntu during the next merge window.