Skip to content
Snippets Groups Projects
Commit 4d6ad2b8 authored by chris's avatar chris
Browse files

tool overrrides

parent 7cb933e2
No related branches found
No related tags found
No related merge requests found
import React, { useMemo, useState, useRef, useContext } from 'react';
import styled from 'styled-components';
import { grid } from '@pubsweet/ui-toolkit';
import { grid, override } from '@pubsweet/ui-toolkit';
import { v4 as uuidv4 } from 'uuid';
import {
WaxContext,
......@@ -25,6 +25,8 @@ const DropWrapper = styled.div`
position: absolute;
top: 32px;
width: max-content;
${override('Wax.HighlightToolWrapper')}
`;
const TextHighlightComponent = styled.div`
background: white;
......
import React, { useContext, useMemo, useState, useRef } from 'react';
import styled from 'styled-components';
import { grid } from '@pubsweet/ui-toolkit';
import { grid, override } from '@pubsweet/ui-toolkit';
import {
WaxContext,
useOnClickOutside,
......@@ -19,6 +19,8 @@ const DropWrapper = styled.div`
margin-top: ${grid(1)};
position: absolute;
top: 32px;
${override('Wax.SpecialCharacterToolWrapper')}
`;
const SpecialCharactersTool = ({ item }) => {
......
import React, { useContext, useMemo, useRef, useState } from 'react';
import styled from 'styled-components';
import { grid } from '@pubsweet/ui-toolkit';
import { grid, override } from '@pubsweet/ui-toolkit';
import { v4 as uuid } from 'uuid';
import {
WaxContext,
......@@ -21,6 +21,8 @@ const DropWrapper = styled.div`
position: absolute;
top: 32px;
width: max-content;
${override('Wax.TransformToolWrapper')}
`;
const TextTransformCaseComponent = styled.div`
background: white;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment