Yuki Takei пре 8 година
родитељ
комит
36e9960820
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      resource/js/components/PageEditor/Editor.js

+ 4 - 2
resource/js/components/PageEditor/Editor.js

@@ -253,7 +253,7 @@ export default class Editor extends React.Component {
       flexDirection: 'column',
     }
     const expandHeight = {
-      height: '100%',
+      height: 'calc(100% - 20px)'
     }
 
     return (
@@ -323,7 +323,9 @@ export default class Editor extends React.Component {
           />
         </Dropzone>
 
-        <button type="button" className="btn btn-default btn-block btn-open-dropzone" onClick={() => {this.refs.dropzone.open()}}>
+        <button type="button" className="btn btn-default btn-block btn-open-dropzone"
+            onClick={() => {this.refs.dropzone.open()}}>
+
           <i className="fa fa-paperclip" aria-hidden="true"></i>&nbsp;
           Attach files by dragging &amp; dropping,&nbsp;
           <span className="btn-link">selecting them</span>,&nbsp;