mirror of
https://github.com/idanoo/autobrr
synced 2025-07-25 17:59:14 +00:00
enhancement(web): IRC logs view (#1066)
* enhancement(web): IRC logs view * revert sorting changes and implement auto scroll * replace setTimeout with useEffect and dep add option menu for scroll on new log toggle. prevent duplicate log entries when toggling settings.scrollOnNewLog through clearing logs once * linting
This commit is contained in:
parent
48e09b51dc
commit
2f0d52e71c
2 changed files with 88 additions and 28 deletions
|
@ -15,7 +15,7 @@ interface CheckboxProps {
|
|||
export const Checkbox = ({ label, description, value, setValue }: CheckboxProps) => (
|
||||
<Switch.Group as="li" className="py-4 flex items-center justify-between">
|
||||
<div className="flex flex-col">
|
||||
<Switch.Label as="p" className="text-sm font-medium text-gray-900 dark:text-white" passive>
|
||||
<Switch.Label as="p" className="text-sm font-medium whitespace-nowrap text-gray-900 dark:text-white" passive>
|
||||
{label}
|
||||
</Switch.Label>
|
||||
{description === undefined ? null : (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue