mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
bug fixed : misaligned text and button in the events section in query manager (#4088)
This commit is contained in:
parent
1196aef268
commit
0a2ba33002
1 changed files with 2 additions and 2 deletions
|
|
@ -776,7 +776,7 @@ export const EventManager = ({
|
|||
if (events.length === 0) {
|
||||
return (
|
||||
<>
|
||||
<div className="text-right mb-3">
|
||||
<div className="text-left mb-3">
|
||||
<button
|
||||
className="btn btn-sm border-0 font-weight-normal padding-2 col-auto color-primary inspector-add-button"
|
||||
onClick={addHandler}
|
||||
|
|
@ -785,7 +785,7 @@ export const EventManager = ({
|
|||
{t('editor.inspector.eventManager.addEventHandler', '+ Add event handler')}
|
||||
</button>
|
||||
</div>
|
||||
<div className="text-center">
|
||||
<div className="text-left">
|
||||
<small className="color-disabled" data-cy="no-event-handler-message">
|
||||
{t('editor.inspector.eventManager.emptyMessage', "This {{componentName}} doesn't have any event handlers", {
|
||||
componentName: componentName.toLowerCase(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue