tooltips fixes

pull/5370/head
lianahus 2 years ago committed by Aniket
parent 44745a0663
commit 6ab8a212ab
  1. 2
      libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx
  2. 21
      libs/remix-ui/plugin-manager/src/lib/components/permissionsSettings.tsx

@ -68,7 +68,7 @@ function ActivePluginCard ({
placement="right"
tooltipId={`pluginManagerInactiveActiveBtn${profile.name}`}
tooltipClasses="text-nowrap"
tooltipText={`Dectivate ${profile.displayName || profile.name}`}
tooltipText={`Deactivate ${profile.displayName || profile.name}`}
>
<button
onClick={() => {

@ -5,6 +5,7 @@ import { FormattedMessage, useIntl } from 'react-intl'
import { ModalDialog } from '@remix-ui/modal-dialog'
import useLocalStorage from '../custom-hooks/useLocalStorage'
import { PluginPermissions } from '../../types'
import { CustomTooltip } from '@remix-ui/helper'
function PermisssionsSettings () {
const [modalVisibility, setModalVisibility] = useState<boolean>(true)
@ -130,12 +131,20 @@ function PermisssionsSettings () {
</form>
</ModalDialog>
<footer className="bg-light remixui_permissions remix-bg-opacity">
<button
onClick={openModal}
className="btn btn-primary settings-button"
data-id="pluginManagerPermissionsButton">
<FormattedMessage id="pluginManager.Permissions" />
</button>
<CustomTooltip
placement={"top"}
tooltipId="pmPermissions"
tooltipClasses="text-nowrap"
tooltipText={"Manage plugins Permissions"}
key={"keypmPermissions"}
>
<button
onClick={openModal}
className="btn btn-primary settings-button"
data-id="pluginManagerPermissionsButton">
<FormattedMessage id="pluginManager.Permissions" />
</button>
</CustomTooltip>
</footer>
</Fragment>
)

Loading…
Cancel
Save