about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components/column_header.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-03-16 17:21:28 +0100
committerThibaut Girka <thib@sitedethib.com>2018-04-22 19:17:10 +0200
commit63d671b18f010d5f60421b0bd2acd8eeff45169d (patch)
treef1015925504d72048b8b0c638e818c1f961b6f8b /app/javascript/flavours/glitch/components/column_header.js
parentabf7c5b85016ec1c660ef8c6598f4b8acbb8c41c (diff)
[Glitch] Fix button hiding when header title is too long
Port ffb2b8ef8c3c7cd6f57860240378fac8d5964105 to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/components/column_header.js')
-rw-r--r--app/javascript/flavours/glitch/components/column_header.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/javascript/flavours/glitch/components/column_header.js b/app/javascript/flavours/glitch/components/column_header.js
index e4296ecef..cd977c4ca 100644
--- a/app/javascript/flavours/glitch/components/column_header.js
+++ b/app/javascript/flavours/glitch/components/column_header.js
@@ -170,9 +170,7 @@ export default class ColumnHeader extends React.PureComponent {
         <h1 className={buttonClassName}>
           <button onClick={this.handleTitleClick}>
             <i className={`fa fa-fw fa-${icon} column-header__icon`} />
-            <span className='column-header__title'>
-              {title}
-            </span>
+            {title}
           </button>
           <div className='column-header__buttons'>
             {backButton}