+
{{ toDo.data.attributes.data.name }}
diff --git a/resources/js/views/ToDoLists/ToDoList.vue b/resources/js/views/ToDoLists/ToDoList.vue
index 7135fcc..bfbd72e 100644
--- a/resources/js/views/ToDoLists/ToDoList.vue
+++ b/resources/js/views/ToDoLists/ToDoList.vue
@@ -3,7 +3,11 @@
{{ toDoList.data.attributes.data.name }}
-
+
------- no to Do -------
@@ -11,7 +15,11 @@
v-for="(toDo, indexToDo) in toDoList.data.attributes.data.to_dos.data"
:key="indexToDo"
:toDo="toDo"
- :position="indexToDo" />
+ :position="indexToDo"
+ draggable
+ @dragstart='startDrag($event, toDo)'
+ class='drag-el'
+ />
@@ -25,6 +33,7 @@
diff --git a/resources/sass/app.scss b/resources/sass/app.scss
index e953642..95bd339 100644
--- a/resources/sass/app.scss
+++ b/resources/sass/app.scss
@@ -26,7 +26,7 @@
//
//@import "pages/auth";
//@import "pages/users";
-//@import "pages/memos";
+@import "pages/memos";
//@import "pages/meteo";
//@import "pages/games";
//
diff --git a/resources/sass/pages/memos.scss b/resources/sass/pages/memos.scss
index f5c9d45..539d21b 100644
--- a/resources/sass/pages/memos.scss
+++ b/resources/sass/pages/memos.scss
@@ -1,3 +1,4 @@
+/*
.memo {
&-list {
@@ -81,3 +82,57 @@
width: 100%;
}
}
+
+*/
+
+.memo-style {
+
+ h1,
+ h2,
+ h3,
+ h4 {
+ @apply font-bold;
+ }
+
+ h1 {
+ @apply text-4xl;
+ }
+
+ h2 {
+ @apply text-3xl;
+ }
+
+ h3 {
+ @apply text-2xl;
+ }
+
+ h4 {
+ @apply text-xl;
+ }
+
+ p {
+ @apply mb-2 mt-1;
+ text-indent: 2rem;
+ }
+
+ pre,
+ code {
+ @apply bg-gray-700 text-white p-1;
+ }
+
+ pre {
+ @apply my-2;
+ }
+
+ blockquote {
+ @apply bg-gray-300 italic p-2 mx-4 my-2;
+ }
+
+ ul {
+ @apply list-disc ml-8;
+ }
+
+ ol {
+ @apply list-decimal ml-8;
+ }
+}