Change classname "autosuggest-emoji" to use only Tailwind

This commit is contained in:
danidfra 2024-11-12 13:08:18 -03:00
parent e6bc548b10
commit 84342da4ea
4 changed files with 2 additions and 49 deletions

View File

@ -26,13 +26,12 @@ const AutosuggestEmoji: React.FC<IAutosuggestEmoji> = ({ emoji }) => {
} }
return ( return (
<div className='autosuggest-emoji flex flex-row items-center justify-start text-[14px] leading-[18px]' data-testid='emoji'> <div className='flex flex-row items-center justify-start text-[14px] leading-[18px]' data-testid='emoji'>
<img <img
className='emojione' className='emojione mr-2 block size-4'
src={url} src={url}
alt={alt} alt={alt}
/> />
{emoji.colons} {emoji.colons}
</div> </div>
); );

View File

@ -7,7 +7,6 @@
@use 'rtl'; @use 'rtl';
@use 'accessibility'; @use 'accessibility';
@use 'navigation'; @use 'navigation';
@use 'autosuggest';
// COMPONENTS // COMPONENTS
@use 'components/buttons'; @use 'components/buttons';

View File

@ -1,38 +0,0 @@
.react-datepicker__input-container input {
// display: block;
// box-sizing: border-box;
// width: 100%;
// margin: 0;
// background: transparent;
// color: var(--primary-text-color);
// padding: 10px;
// font-family: inherit;
// font-size: 16px;
// resize: vertical;
// border: 0;
// outline: 0;
// &:focus {
// outline: 0;
// }
// @media screen and (max-width: 600px) {
// font-size: 16px;
// }
}
.autosuggest-emoji {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
line-height: 18px;
font-size: 14px;
}
.autosuggest-emoji img {
display: block;
margin-right: 8px;
width: 16px;
height: 16px;
}

View File

@ -122,13 +122,6 @@
} }
} }
.autosuggest-emoji > img{
display: block;
margin-right: 8px;
width: 16px;
height: 16px;
}
.hide-scrollbar { .hide-scrollbar {
scrollbar-width: none; /* Firefox */ scrollbar-width: none; /* Firefox */
} }