diff options
author | Arun Isaac | 2022-06-29 11:55:20 +0530 |
---|---|---|
committer | Arun Isaac | 2022-06-29 11:55:20 +0530 |
commit | 209327a39dd8d40feb5086a5d86c4cb7f35d2bd4 (patch) | |
tree | 9190f3d58b8bd9afd0dc05bba57149d3d4f5fa0e /tissue/document.scm | |
parent | b6ff5be83fa077cd64cbe37e646cc260fe67cfc5 (diff) | |
download | tissue-209327a39dd8d40feb5086a5d86c4cb7f35d2bd4.tar.gz tissue-209327a39dd8d40feb5086a5d86c4cb7f35d2bd4.tar.lz tissue-209327a39dd8d40feb5086a5d86c4cb7f35d2bd4.zip |
web: server: Use div instead of span for snippets and metadata.
A div is already a block element. There is no need to use a span and
then make it a block element.
* tissue/document.scm (document->sxml): Use div instead of span for
snippets and metadata.
* tissue/issue.scm (document->sxml): Use div instead of span for
snippets and metadata.
* tissue/web/server.scm (%css)[.search-result-metadata]: Remove
"display: block" property.
Diffstat (limited to 'tissue/document.scm')
-rw-r--r-- | tissue/document.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tissue/document.scm b/tissue/document.scm index cc49010..a89dbb8 100644 --- a/tissue/document.scm +++ b/tissue/document.scm @@ -244,8 +244,8 @@ a list of search results." ,(document-title document)) ,@(let ((snippet (document-sxml-snippet document mset))) (if snippet - (list `(span (@ (class "search-result-snippet")) - ,@snippet)) + (list `(div (@ (class "search-result-snippet")) + ,@snippet)) (list))))) (define (read-gemtext-document file) |