mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-03 13:18:53 -05:00
style: add new tailwind prettier plugin (#2465)
This commit is contained in:
@@ -44,9 +44,9 @@ const IssueDescription: React.FC<IssueDescriptionProps> = ({
|
||||
{({ open }) => (
|
||||
<>
|
||||
<div>
|
||||
<Menu.Button className="flex items-center text-gray-400 rounded-full hover:text-gray-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500">
|
||||
<Menu.Button className="flex items-center rounded-full text-gray-400 hover:text-gray-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:ring-offset-gray-100">
|
||||
<span className="sr-only">Open options</span>
|
||||
<DotsVerticalIcon className="w-5 h-5" aria-hidden="true" />
|
||||
<DotsVerticalIcon className="h-5 w-5" aria-hidden="true" />
|
||||
</Menu.Button>
|
||||
</div>
|
||||
|
||||
@@ -62,7 +62,7 @@ const IssueDescription: React.FC<IssueDescriptionProps> = ({
|
||||
>
|
||||
<Menu.Items
|
||||
static
|
||||
className="absolute right-0 w-56 mt-2 origin-top-right bg-gray-700 rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none"
|
||||
className="absolute right-0 mt-2 w-56 origin-top-right rounded-md bg-gray-700 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none"
|
||||
>
|
||||
<div className="py-1">
|
||||
{belongsToUser && (
|
||||
@@ -70,7 +70,7 @@ const IssueDescription: React.FC<IssueDescriptionProps> = ({
|
||||
{({ active }) => (
|
||||
<button
|
||||
onClick={() => setIsEditing(true)}
|
||||
className={`block w-full text-left px-4 py-2 text-sm ${
|
||||
className={`block w-full px-4 py-2 text-left text-sm ${
|
||||
active
|
||||
? 'bg-gray-600 text-white'
|
||||
: 'text-gray-100'
|
||||
@@ -87,7 +87,7 @@ const IssueDescription: React.FC<IssueDescriptionProps> = ({
|
||||
{({ active }) => (
|
||||
<button
|
||||
onClick={() => onDelete()}
|
||||
className={`block w-full text-left px-4 py-2 text-sm ${
|
||||
className={`block w-full px-4 py-2 text-left text-sm ${
|
||||
active
|
||||
? 'bg-gray-600 text-white'
|
||||
: 'text-gray-100'
|
||||
@@ -123,7 +123,7 @@ const IssueDescription: React.FC<IssueDescriptionProps> = ({
|
||||
as="textarea"
|
||||
className="h-40"
|
||||
/>
|
||||
<div className="flex justify-end mt-2">
|
||||
<div className="mt-2 flex justify-end">
|
||||
<Button
|
||||
buttonType="default"
|
||||
className="mr-2"
|
||||
@@ -141,7 +141,7 @@ const IssueDescription: React.FC<IssueDescriptionProps> = ({
|
||||
}}
|
||||
</Formik>
|
||||
) : (
|
||||
<div className="mt-4 prose">
|
||||
<div className="prose mt-4">
|
||||
<ReactMarkdown
|
||||
allowedElements={['p', 'img', 'strong', 'em']}
|
||||
skipHtml
|
||||
|
||||
Reference in New Issue
Block a user