@@ -59,7 +59,9 @@ const GrowiSubNavigation = (props) => {
<h1 className="m-0">
<RevisionPath behaviorType={appContainer.config.behaviorType} pageId={pageId} pagePath={pageContainer.state.path} />
</h1>
- <TagLabels />
+ { !isPageNotFound && !isPageForbidden && (
+ <TagLabels />
+ ) }
</div>
<div className="d-flex align-items-center">
@@ -108,7 +108,7 @@ class TagLabels extends React.Component {
});
return (
- <div className={`tag-viewer ${pageId ? 'existed-page' : 'new-page'}`}>
+ <div className="tag-labels">
{tags.length === 0 && (
<a className="btn btn-link btn-edit-tags no-tags p-0 text-muted" onClick={this.showEditor}>
{ t('Add tags for this page') } <i className="manage-tags ml-2 icon-plus"></i>
@@ -117,7 +117,7 @@ body.on-edit {
}
- .tag-viewer.new-page {
+ .tag-labels.new-page {
display: block;
@@ -25,7 +25,7 @@
display: none;
@@ -3,29 +3,29 @@
height: unset;
- .tag-viewer {
- .manage-tags {
- font-size: 10px;
- cursor: pointer;
- }
+ .list-tag-count {
+ background: rgba(0, 0, 0, 0.08);
+ }
+}
- .tag-icon:not(:first-child) {
- margin-left: 5px;
+.tag-labels {
+ .manage-tags {
+ font-size: 10px;
+ cursor: pointer;
- .btn.btn-edit-tags,
- .tag-icon {
+ .tag-icon:not(:first-child) {
+ margin-left: 5px;
- .tag-name {
- margin-left: 1px;
+ .btn.btn-edit-tags,
+ .tag-icon {
- .list-tag-count {
- background: rgba(0, 0, 0, 0.08);
+ .tag-name {
+ margin-left: 1px;