diff --git a/go.mod b/go.mod index 604763c..1a08354 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/bouncepaw/mycorrhiza go 1.17 require ( - github.com/bouncepaw/mycomarkup/v3 v3.5.3 + github.com/bouncepaw/mycomarkup/v3 v3.6.0 github.com/go-ini/ini v1.63.2 github.com/gorilla/feeds v1.1.1 github.com/gorilla/mux v1.8.0 @@ -16,13 +16,12 @@ require ( require ( github.com/kr/pretty v0.2.1 // indirect github.com/stretchr/testify v1.7.0 // indirect - github.com/valyala/bytebufferpool v1.0.0 // indirect golang.org/x/sys v0.0.0-20211109184856-51b60fd695b3 // indirect ) // Use this trick to test local Mycomarkup changes, replace the path with yours, // but do not commit the change to the path: -// replace github.com/bouncepaw/mycomarkup/v3 v3.5.2 => "/Users/bouncepaw/GolandProjects/mycomarkup" +// replace github.com/bouncepaw/mycomarkup/v3 v3.6.0 => "/Users/bouncepaw/GolandProjects/mycomarkup" // Use this utility every time Mycomarkup gets a major update: // https://github.com/marwan-at-work/mod diff --git a/go.sum b/go.sum index 0baee01..73e79cf 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ github.com/andybalholm/brotli v1.0.2/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y= github.com/andybalholm/brotli v1.0.3/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= -github.com/bouncepaw/mycomarkup/v3 v3.5.2 h1:AEcGFxFa6OlTkjBwi6+zlTxV7St89bDr8UM2TSmkRcw= -github.com/bouncepaw/mycomarkup/v3 v3.5.2/go.mod h1:BpiGUVsYCgRZCDxF0iIdc08LJokm/Ab36S/Hif0J6D0= +github.com/bouncepaw/mycomarkup/v3 v3.6.0 h1:R6sXpxFDqx9zTnocBzyuvis970GwbD5dCbQGnkuMYAM= +github.com/bouncepaw/mycomarkup/v3 v3.6.0/go.mod h1:BpiGUVsYCgRZCDxF0iIdc08LJokm/Ab36S/Hif0J6D0= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/go-ini/ini v1.63.2 h1:kwN3umicd2HF3Tgvap4um1ZG52/WyKT9GGdPx0CJk6Y= diff --git a/static/default.css b/static/default.css index 89eaeb1..1d7d2d4 100644 --- a/static/default.css +++ b/static/default.css @@ -151,17 +151,14 @@ aside { clear: both; } .img-gallery { text-align: center; margin-top: .25rem; margin-bottom: .25rem; } .img-gallery_many-images { border-radius: .25rem; padding: .5rem; } @media screen and (min-width: 700px) { - .img-gallery_arrangement-grid { + .img-gallery_layout-grid { display: grid; grid-template-columns: 1fr 1fr; } - .img-gallery_position-end { + .img-gallery_layout-side { float: right; - } - - .img-gallery_position-start { - float: left; + max-width: 50%; } } .img-gallery img { max-width: 100%; max-height: 50vh; }