فهرست منبع

adjust styles

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