yusuketk 7 лет назад
Родитель
Сommit
133c208e01
2 измененных файлов с 5 добавлено и 11 удалено
  1. 3 6
      src/client/js/components/Page/TagViewer.jsx
  2. 2 5
      src/client/styles/scss/_page.scss

+ 3 - 6
src/client/js/components/Page/TagViewer.jsx

@@ -51,11 +51,8 @@ export default class TagViewer extends React.Component {
   }
 
   render() {
-    // TODO GC-1391 activate
-    const tagButtonStyle = {
-      height: '19px',
-      width: '30px',
-      marginLeft: '0.5em',
+    const tagEditorButtonStyle = {
+      marginLeft: '0.2em',
       padding: '0 2px',
     };
 
@@ -74,7 +71,7 @@ export default class TagViewer extends React.Component {
             variant="primary"
             onClick={this.handleShowModal}
             className="btn btn-default btn-tag"
-            style={tagButtonStyle}
+            style={tagEditorButtonStyle}
           >
             <i className="fa fa-tags"></i>{this.state.currentPageTags.length}
           </Button>

+ 2 - 5
src/client/styles/scss/_page.scss

@@ -71,9 +71,10 @@
       color: #999;
     }
 
-    h1#revision-path {
+    h1.title {
       margin-top: 0;
       margin-bottom: 0;
+      float: left;
 
       .d-flex {
         flex-wrap: wrap; // for long page path
@@ -88,10 +89,6 @@
         }
       }
     }
-
-    h1.title {
-      float: left;
-    }
   }
 
   // alert component settings