]> BookStack Code Mirror - bookstack/commitdiff
Neated some stock styles
authorDan Brown <redacted>
Tue, 21 Jul 2015 20:16:26 +0000 (21:16 +0100)
committerDan Brown <redacted>
Tue, 21 Jul 2015 20:16:26 +0000 (21:16 +0100)
resources/assets/sass/_html.scss
resources/assets/sass/_tinymce.scss
resources/views/pages/form.blade.php

index 3b019d58335827967a4a4f8297c6820ed72faf3e..6b21a48a78f5ac8ed2780cd9e90c77c2d15dd6b2 100644 (file)
@@ -11,3 +11,12 @@ body {
        color: #444;
        -webkit-font-smoothing: antialiased;
 }
+
+table {
+  min-width: 100px;
+  td {
+       min-width: 10px;
+       padding: 4px 6px;
+       border: 1px solid #DDD;
+  }
+}
\ No newline at end of file
index 7c1cf771d19cb3e6d51bdd0d8fc074faad4ee3cb..9c7c398cf90dd331e6394094a0d0c9882be4d300 100644 (file)
@@ -15,4 +15,8 @@
   position: fixed;
   top: 0;
   height: 100%;
+  width: 825px;
+  max-width: 100%;
+  margin-left: -$-s;
+  box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.08);
 }
\ No newline at end of file
index 871344f639625aaa8239018d466d290203d697fe..a100bdbca48d45b511cbbd92432e190805fd3ab3 100644 (file)
             },
             setup: function(editor) {
                 editor.addButton('full', {
-                    text: 'Expand',
-                    icon: false,
+                    title: 'Expand Editor',
+                    icon: 'fullscreen',
                     onclick: function() {
                         var container = $(editor.getContainer()).toggleClass('fullscreen');
+                        var isFull = container.hasClass('fullscreen');
+                        var iframe = container.find('iframe').first();
+                        var height = isFull ? $(window).height()-110 : 600;
+                        iframe.css('height', height + 'px');
                     }
                 });
             }