Upgraded EasyMDE and fixed CSS for preview lists

This commit is contained in:
roberto 2025-04-30 14:56:53 +02:00
parent 3b28783c86
commit 9cd5a0c156
10 changed files with 30 additions and 18 deletions

View file

@ -123,6 +123,8 @@ a {
body {
color: #000 !important;
background-color: #f1f1f1;
margin: 0;
min-height: 100vh;
}
html {
@ -138,9 +140,12 @@ html {
box-sizing: inherit
}
body {
margin: 0;
min-height: 100vh;
.editor-preview-side ul {
padding: 1.5em;
}
.editor-preview-side li input[type="checkbox"] {
display: inline;
}
#overlay {

View file

@ -1,5 +1,5 @@
/**
* easymde v2.18.0
* easymde v2.20.0
* Copyright Jeroen Akkerman
* @link https://github.com/ionaru/easy-markdown-editor
* @license MIT

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
const cacheVersion = "0.31"
const cacheVersion = "0.34"
const cacheName = "speedtech-brainminder"
const cacheFiles = [
'/static/bootstrap-icons/font/bootstrap-icons.min.css',
@ -13,7 +13,6 @@ const cacheFiles = [
"/static/easymde/easymde.min.js",
"/static/js/Sortable.min.js",
"/static/js/htmx/htmx.min.js",
"/static/js/hyperscript.min.js",
"/static/js/handlebars.js",
"/static/js/templates.js",
"/static/js/slimselect.min.js",

View file

@ -3,7 +3,7 @@
"short_name": "BrainMinder",
"start_url": "/",
"scope": "/",
"display": "standalone",
"display": "fullscreen",
"background_color": "#2b5797",
"theme_color": "#2b5797",
"orientation": "any",

View file

@ -4,7 +4,11 @@
<head>
<meta charset="utf-8" >
<title>BrainMinder</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width; initial-scale=1; viewport-fit=cover">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- possible content values: default, black or black-translucent -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="manifest" href="/static/manifest.json" />
<link rel="stylesheet" href="/static/bootstrap-icons/font/bootstrap-icons.min.css" />
<link rel="stylesheet" href="/static/easymde/easymde.min.css" />

View file

@ -3,7 +3,11 @@
<head>
<meta charset="utf-8" >
<title>BrainMinder</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width; initial-scale=1; viewport-fit=cover">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- possible content values: default, black or black-translucent -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="manifest" href="/static/manifest.json">
<link rel="stylesheet" href="/static/bootstrap-icons/font/bootstrap-icons.min.css" />
<link rel="stylesheet" href="/static/css/main.css" />

View file

@ -3,7 +3,11 @@
<head>
<meta charset="utf-8" >
<title>BrainMinder</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width; initial-scale=1; viewport-fit=cover">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- possible content values: default, black or black-translucent -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="manifest" href="/static/manifest.json">
<link rel="stylesheet" href="/static/bootstrap-icons/font/bootstrap-icons.min.css" />
<link rel="stylesheet" href="/static/css/guest.css" />

View file

@ -1,11 +1,9 @@
package main
import (
"net/http"
"brainminder.speedtech.it/assets"
"github.com/alexedwards/flow"
"net/http"
)
func (app *application) routes() http.Handler {

4
go.mod
View file

@ -1,8 +1,6 @@
module brainminder.speedtech.it
go 1.23
toolchain go1.23.0
go 1.24
require (
github.com/alexedwards/flow v0.1.0