diff --git a/app/src/main/kotlin/views/BaseView.kt b/app/src/main/kotlin/views/BaseView.kt
index 2bf0ca6..7aaa578 100644
--- a/app/src/main/kotlin/views/BaseView.kt
+++ b/app/src/main/kotlin/views/BaseView.kt
@@ -25,17 +25,17 @@ class BaseView(staticFileResolver: StaticFileResolver) : View(staticFileResolver
@Language("html")
val html =
"""
-
+
@@ -48,31 +48,31 @@ class BaseView(staticFileResolver: StaticFileResolver) : View(staticFileResolver
- | Formula 1 |
+ Formula 1 |
moments ago |
|
- | Syntax highlighting |
+ Syntax highlighting |
2 hours ago |
|
- | report |
+ report |
5 days ago |
|
@@ -95,7 +95,7 @@ class BaseView(staticFileResolver: StaticFileResolver) : View(staticFileResolver
div("m-4 rounded-lg p-6") {
p("text-teal-400") {
h2("text-3xl text-teal-400 underline") { +"Features:" }
- ul("list-disc text-lg") {
+ ul("list-disc text-lg list-inside") {
li { +"Markdown support" }
li { +"Full text search" }
li { +"Structured search" }
diff --git a/app/src/main/kotlin/views/components/DeletedNoteTable.kt b/app/src/main/kotlin/views/components/DeletedNoteTable.kt
index 0be5135..9953a61 100644
--- a/app/src/main/kotlin/views/components/DeletedNoteTable.kt
+++ b/app/src/main/kotlin/views/components/DeletedNoteTable.kt
@@ -44,7 +44,7 @@ private fun FlowContent.tags(tags: List) {
ul("inline flex flex-wrap justify-center") {
tags.forEach { tag ->
li("mx-2 my-1") {
- span("tag") { +"#$tag" }
+ span("tag disabled") { +"#$tag" }
}
}
}
diff --git a/css/src/other.pcss b/css/src/other.pcss
index 924bccf..cd45578 100644
--- a/css/src/other.pcss
+++ b/css/src/other.pcss
@@ -8,6 +8,10 @@
&:hover {
@apply bg-teal-800 text-white;
}
+
+ &.disabled {
+ @apply pointer-events-none;
+ }
}
@screen md {
@@ -15,11 +19,7 @@
perspective: 1000px;
}
- .flipped-left > * {
+ .flipped > * {
transform: rotateY(25deg);
}
-
- .flipped-right > * {
- transform: rotateY(-25deg);
- }
}
diff --git a/css/src/search.pcss b/css/src/search.pcss
index 3dc98a6..cb8aec5 100644
--- a/css/src/search.pcss
+++ b/css/src/search.pcss
@@ -16,7 +16,7 @@
@apply flex-1 btn btn-green;
}
- a {
+ a, span {
@apply ml-2 flex-1 btn btn-red inline-block text-center;
}
}