optimize length of type/mime type labels

This commit is contained in:
zadam 2019-09-02 22:08:50 +02:00
parent d1992b061c
commit 36b575c286
2 changed files with 3 additions and 3 deletions

View file

@ -59,8 +59,8 @@ const MIME_TYPES_DICT = [
{ title: "Pug", mime: "text/x-pug" },
{ default: true, title: "Java", mime: "text/x-java" },
{ title: "Java Server Pages", mime: "application/x-jsp" },
{ default: true, title: 'JavaScript frontend', mime: 'application/javascript;env=frontend' },
{ default: true, title: 'JavaScript backend', mime: 'application/javascript;env=backend' },
{ default: true, title: 'JS frontend', mime: 'application/javascript;env=frontend' },
{ default: true, title: 'JS backend', mime: 'application/javascript;env=backend' },
{ default: true, title: "JSON", mime: "application/json" },
{ title: "JSON-LD", mime: "application/ld+json" },
{ title: "JSX", mime: "text/jsx" },

View file

@ -10,7 +10,7 @@ const NOTE_TYPES = [
{ type: "text", mime: "text/html", title: "Text", selectable: true },
{ type: "relation-map", mime: "application/json", title: "Relation Map", selectable: true },
{ type: "render", mime: '', title: "Render HTML note", selectable: true },
{ type: "render", mime: '', title: "Render Note", selectable: true },
{ type: "code", mime: 'text/plain', title: "Code", selectable: true }
];