changed the default cursor to pointer in the page menu option for iss… (#6129)

* changed the default cursor to pointer in the page menu option for issue #6111

* Updated the previous commit to reflect changes mentioned in the given comment https://github.com/ToolJet/ToolJet/pull/6129#issuecomment-1522074271

* Reverted unwanted changes

* Updated classname

---------

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
This commit is contained in:
Don Basil Peter 2023-04-29 20:05:30 +05:30 committed by GitHub
parent 1edda6c5a2
commit 4a0dbf450c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ const Header = ({ children, darkMode }) => {
const PanelHeader = ({ children, settings, title }) => {
return (
<div className="panel-header-container row">
{settings && <div className="col-auto d-flex px-1">{settings}</div>}
{settings && <div className="cursor-pointer col-auto d-flex px-1">{settings}</div>}
<div className={`col ${settings && 'px-0'}`}>
<p className="text-muted m-0 fw-500" data-cy={`label-${String(title).toLowerCase()}`}>
{title}