From d57494843e6ad35ab922591ed4e3d576838cc951 Mon Sep 17 00:00:00 2001 From: Chris Brame Date: Wed, 9 Jun 2021 18:16:47 -0400 Subject: [PATCH] fix(tickets): view rending incorrectly on latest version of Chrome --- src/client/components/Table/index.jsx | 2 +- .../containers/Topbar/TopbarContainer.jsx | 39 +++++++++---------- src/sass/app.sass | 4 ++ 3 files changed, 23 insertions(+), 22 deletions(-) diff --git a/src/client/components/Table/index.jsx b/src/client/components/Table/index.jsx index 9ab1eb5ac..a22099157 100644 --- a/src/client/components/Table/index.jsx +++ b/src/client/components/Table/index.jsx @@ -32,7 +32,7 @@ class Table extends React.Component { {headers} )} - {useBody && {children}} + {useBody && {children}} {!useBody && children} ) diff --git a/src/client/containers/Topbar/TopbarContainer.jsx b/src/client/containers/Topbar/TopbarContainer.jsx index df3e0a434..dbb937c9b 100644 --- a/src/client/containers/Topbar/TopbarContainer.jsx +++ b/src/client/containers/Topbar/TopbarContainer.jsx @@ -138,23 +138,23 @@ class TopbarContainer extends React.Component { const { viewdata, sessionUser } = this.props return (
- {sessionUser && sessionUser.role.isAdmin && ( -
-
this.closeInfo()} /> -

- You're invited to sign up for Trudesk Cloud Beta, our free-to-use cloud-hosted platform. - this.closeInfo()} - > - Apply Now - -

-
- )} + {/*{sessionUser && sessionUser.role.isAdmin && (*/} + {/*
*/} + {/*
this.closeInfo()} />*/} + {/*

*/} + {/* You're invited to sign up for Trudesk Cloud Beta, our free-to-use cloud-hosted platform.*/} + {/* this.closeInfo()}*/} + {/* >*/} + {/* Apply Now*/} + {/* */} + {/*

*/} + {/*
*/} + {/*)}*/} {this.props.notice && }
@@ -289,7 +289,4 @@ const mapStateToProps = state => ({ viewdata: state.common }) -export default connect( - mapStateToProps, - { showModal, hideModal, showNotice, clearNotice } -)(TopbarContainer) +export default connect(mapStateToProps, { showModal, hideModal, showNotice, clearNotice })(TopbarContainer) diff --git a/src/sass/app.sass b/src/sass/app.sass index fec504cfa..3a0503dcd 100644 --- a/src/sass/app.sass +++ b/src/sass/app.sass @@ -221,6 +221,10 @@ input[type="file"], input[type="checkbox"], input[type="radio"], select // @import "partials/ui" +// Chrome 91 Fix for table row expanding the full height +.c91-fix + display: contents + .info-banner width: 100% height: 50px