marksmith 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/marksmith.css +11 -0
- data/app/views/marksmith/shared/_editor.html.erb +4 -5
- data/lib/marksmith/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0128324daeb57601c2ba3ab60de880179bb6df7dfcf4e5ead34aee95d35aeb0b'
|
4
|
+
data.tar.gz: 0cee7e267e53b84330fbad9b9246a5bafb67234f84a232007f199227ad72358d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34dd3cee675295dae2662bd4d7cedf5419b2d291b71fcbfc836cc4c18a7de63dd06493f1b0bbfb6c600a24dc528599ec04e890458d1f2c0c725cf8fdc4898e30
|
7
|
+
data.tar.gz: 7557d549a8700268931952c383780579823c146f160bb3ebd3de10cb55e5df795342ee1813c3172e448c6f7fea32b962ed50a2107b3016400413fbafbbe461ff
|
@@ -788,6 +788,9 @@
|
|
788
788
|
margin-bottom: 0;
|
789
789
|
}
|
790
790
|
}
|
791
|
+
.ms\:block {
|
792
|
+
display: block;
|
793
|
+
}
|
791
794
|
.ms\:flex {
|
792
795
|
display: flex;
|
793
796
|
}
|
@@ -923,6 +926,10 @@
|
|
923
926
|
font-size: var(--ms-text-xs);
|
924
927
|
line-height: var(--tw-leading, var(--ms-text-xs--line-height));
|
925
928
|
}
|
929
|
+
.ms\:leading-normal {
|
930
|
+
--tw-leading: var(--ms-leading-normal);
|
931
|
+
line-height: var(--ms-leading-normal);
|
932
|
+
}
|
926
933
|
.ms\:font-semibold {
|
927
934
|
--tw-font-weight: var(--ms-font-weight-semibold);
|
928
935
|
font-weight: var(--ms-font-weight-semibold);
|
@@ -1095,6 +1102,10 @@
|
|
1095
1102
|
inherits: false;
|
1096
1103
|
initial-value: solid;
|
1097
1104
|
}
|
1105
|
+
@property --tw-leading {
|
1106
|
+
syntax: "*";
|
1107
|
+
inherits: false;
|
1108
|
+
}
|
1098
1109
|
@property --tw-font-weight {
|
1099
1110
|
syntax: "*";
|
1100
1111
|
inherits: false;
|
@@ -15,7 +15,7 @@
|
|
15
15
|
extra_preview_params = local_assigns[:extra_preview_params] || {}
|
16
16
|
%>
|
17
17
|
<%= content_tag :div,
|
18
|
-
class: "ms:
|
18
|
+
class: "ms:block ms:flex-col ms:w-full ms:border ms:border-neutral-300 ms:rounded ms:@container ms:focus-within:border-neutral-400",
|
19
19
|
data: {
|
20
20
|
controller: "marksmith list-continuation",
|
21
21
|
action: "
|
@@ -52,11 +52,11 @@
|
|
52
52
|
</markdown-toolbar>
|
53
53
|
</div>
|
54
54
|
<% toolbar_button_classes = "ms:cursor-pointer ms:hover:bg-neutral-100 ms:px-1 ms:py-px ms:rounded ms:text-sm" %>
|
55
|
-
<div class="ms:border-t ms:border-neutral-300 ms:flex">
|
55
|
+
<div class="ms:border-t ms:w-full ms:border-neutral-300 ms:flex">
|
56
56
|
<%= content_tag :div, class: "ms:flex ms:flex-col ms:size-full", data: { marksmith_target: "fieldContainer" } do %>
|
57
57
|
<%= text_area_tag field_name, value,
|
58
58
|
id: name,
|
59
|
-
class: class_names("ms:flex ms:flex-1 ms:rounded ms:border-none ms:p-2 ms:resize-y ms:focus:outline-none ms:font-mono ms:focus:ring-0", classes),
|
59
|
+
class: class_names("ms:flex ms:flex-1 ms:rounded ms:border-none ms:p-2 ms:resize-y ms:focus:outline-none ms:font-mono ms:focus:ring-0 ms:leading-normal", classes),
|
60
60
|
rows: rows,
|
61
61
|
data: {
|
62
62
|
action: "drop->marksmith#dropUpload paste->marksmith#pasteUpload",
|
@@ -68,7 +68,7 @@
|
|
68
68
|
autofocus:,
|
69
69
|
style:
|
70
70
|
%>
|
71
|
-
<div class="ms:flex ms:
|
71
|
+
<div class="ms:flex ms:flex-1 ms:flex-grow ms:space-x-2 ms:py-1 ms:border-t ms:border-neutral-300 ms:px-2 ms:font-sans ms:text-sm">
|
72
72
|
<%= link_to "https://docs.github.com/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax", target: "_blank", class: class_names("ms:flex ms:items-center ms:gap-x-2 ms:text-neutral-800 ms:no-underline", toolbar_button_classes) do %>
|
73
73
|
<%= image_tag asset_path("marksmith/svgs/markdown.svg"), class: "ms:inline ms:size-4" %> <%= t("marksmith.markdown_is_supported").humanize %>
|
74
74
|
<% end %>
|
@@ -89,5 +89,4 @@
|
|
89
89
|
</div>
|
90
90
|
<% end %>
|
91
91
|
</div>
|
92
|
-
</div>
|
93
92
|
<% end %>
|
data/lib/marksmith/version.rb
CHANGED