Move postcss purge config to gradle

This commit is contained in:
2020-10-26 22:14:01 +01:00
parent 95ec674eb8
commit fdc8d34f82
3 changed files with 36 additions and 11 deletions
@@ -184,8 +184,8 @@ class NoteView(styles: String) : View(styles) {
type = ButtonType.submit,
name = if (note.public) "private" else "public",
classes = "font-semibold border-b-4 " +
if (!note.public) "border-teal-200" else "border-green-500" +
" p-2 rounded-r bg-teal-200 text-gray-800"
(if (!note.public) "border-teal-200" else "border-green-500") +
" p-2 rounded-r bg-teal-200 text-gray-800"
) {
+"Public"
}