Skip to content

Commit

Permalink
Merge pull request #13 from Temtem-Interactive-Map/develop
Browse files Browse the repository at this point in the history
0.1.2
  • Loading branch information
TheLokin authored Jun 15, 2023
2 parents 3097d0f + b1c4868 commit d30d298
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion renderer/components/Fields/CounterField/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function CounterField({ id, label, value, options, onChange }) {
id={id}
type="number"
disabled={true}
className="pointer-events-none block w-full border-t border-b border-gray-600 bg-gray-700 p-2.5 text-center text-gray-100 placeholder-gray-400 outline-none"
className="pointer-events-none block w-full border-b border-t border-gray-600 bg-gray-700 p-2.5 text-center text-gray-100 placeholder-gray-400 outline-none"
{...register(id, options)}
/>

Expand Down
2 changes: 1 addition & 1 deletion renderer/components/Tooltip/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export function Tooltip({ message, children }) {
return (
<div
data-tip={message}
className="relative z-10 font-medium text-gray-100 before:invisible before:absolute before:-right-3 before:top-1/2 before:w-max before:max-w-xs before:translate-x-full before:-translate-y-1/2 before:rounded-md before:bg-gray-600 before:px-3 before:py-2 before:content-[attr(data-tip)] after:invisible after:absolute after:-right-[0.8rem] after:top-1/2 after:-translate-y-1/2 after:border-8 after:border-r-gray-600 after:border-l-transparent after:border-b-transparent after:border-t-transparent hover:before:visible hover:after:visible"
className="relative z-10 font-medium text-gray-100 before:invisible before:absolute before:-right-3 before:top-1/2 before:w-max before:max-w-xs before:-translate-y-1/2 before:translate-x-full before:rounded-md before:bg-gray-600 before:px-3 before:py-2 before:content-[attr(data-tip)] after:invisible after:absolute after:-right-[0.8rem] after:top-1/2 after:-translate-y-1/2 after:border-8 after:border-b-transparent after:border-l-transparent after:border-r-gray-600 after:border-t-transparent hover:before:visible hover:after:visible"
>
{children}
</div>
Expand Down

0 comments on commit d30d298

Please sign in to comment.