From 2121b0f6edf152788de2ada6a9b833ffd70e552b Mon Sep 17 00:00:00 2001 From: Kathryn Gough Date: Wed, 25 Jul 2018 12:37:43 +1000 Subject: [PATCH] fix(ZNTA-2699) fix positioning of project glossary title and read only icon (#989) --- .../src/app/containers/Glossary/ViewHeader.js | 6 +++--- .../zanata-frontend/src/app/containers/Glossary/index.less | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/server/zanata-frontend/src/app/containers/Glossary/ViewHeader.js b/server/zanata-frontend/src/app/containers/Glossary/ViewHeader.js index af3a38a026..738eae9578 100644 --- a/server/zanata-frontend/src/app/containers/Glossary/ViewHeader.js +++ b/server/zanata-frontend/src/app/containers/Glossary/ViewHeader.js @@ -133,17 +133,17 @@ class ViewHeader extends Component { permission.canUpdateEntry || permission.canDeleteEntry) const icon = isReadOnly && ( - + ) const showDeleteAll = permission.canDeleteEntry && !isEmptyTerms const projectUrl = project && getProjectUrl(project.id) const projectLink = project && ( -
+
- + {project.name} diff --git a/server/zanata-frontend/src/app/containers/Glossary/index.less b/server/zanata-frontend/src/app/containers/Glossary/index.less index 25c212c242..3c4bb71a9b 100644 --- a/server/zanata-frontend/src/app/containers/Glossary/index.less +++ b/server/zanata-frontend/src/app/containers/Glossary/index.less @@ -85,6 +85,10 @@ margin-right: @spacing-sm; width: 4.5rem; } + .innerView h1 .ant-row { + display: flex; + align-items: center; + } .glossarySelect { position: relative; z-index: 999;