Log transition & light mode messaging fixes
This commit is contained in:
@@ -85,7 +85,7 @@ export const Logs = (): JSX.Element => {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</AnimatePresence>
|
|
||||||
{meshtasticState.logs.map((log, index) => (
|
{meshtasticState.logs.map((log, index) => (
|
||||||
// <ContextMenu
|
// <ContextMenu
|
||||||
// key={index}
|
// key={index}
|
||||||
@@ -95,8 +95,12 @@ export const Logs = (): JSX.Element => {
|
|||||||
// </>
|
// </>
|
||||||
// }
|
// }
|
||||||
// >
|
// >
|
||||||
<tr
|
<m.tr
|
||||||
key={index}
|
key={index}
|
||||||
|
initial={{ opacity: 0 }}
|
||||||
|
animate={{ opacity: 1 }}
|
||||||
|
exit={{ opacity: 0 }}
|
||||||
|
transition={{ duration: 0.3 }}
|
||||||
className="group hover:bg-gray-200 dark:hover:bg-secondaryDark"
|
className="group hover:bg-gray-200 dark:hover:bg-secondaryDark"
|
||||||
>
|
>
|
||||||
<m.td
|
<m.td
|
||||||
@@ -139,9 +143,10 @@ export const Logs = (): JSX.Element => {
|
|||||||
<FiPaperclip />
|
<FiPaperclip />
|
||||||
</td>
|
</td>
|
||||||
<td className="w-full truncate pl-1">{log.message}</td>
|
<td className="w-full truncate pl-1">{log.message}</td>
|
||||||
</tr>
|
</m.tr>
|
||||||
// </ContextMenu>
|
// </ContextMenu>
|
||||||
))}
|
))}
|
||||||
|
</AnimatePresence>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ export const Message = ({
|
|||||||
>
|
>
|
||||||
<div className="flex gap-2">
|
<div className="flex gap-2">
|
||||||
<Tooltip content={rxTime.toString()}>
|
<Tooltip content={rxTime.toString()}>
|
||||||
<div className="my-auto ml-auto w-8 pt-1 text-xs text-transparent dark:group-hover:text-gray-400">
|
<div className="my-auto ml-auto w-8 pt-1 text-xs text-transparent group-hover:text-gray-500 dark:group-hover:text-gray-400">
|
||||||
{rxTime
|
{rxTime
|
||||||
.toLocaleTimeString(undefined, {
|
.toLocaleTimeString(undefined, {
|
||||||
hour: '2-digit',
|
hour: '2-digit',
|
||||||
@@ -50,7 +50,7 @@ export const Message = ({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Tooltip content="Response time">
|
<Tooltip content="Response time">
|
||||||
<div className="flex gap-1 pt-1 text-xs text-transparent dark:group-hover:text-gray-400">
|
<div className="flex gap-1 pt-1 text-xs text-transparent group-hover:text-gray-500 dark:group-hover:text-gray-400">
|
||||||
<FiClock className="mt-0.5" />
|
<FiClock className="mt-0.5" />
|
||||||
<div>25s</div>
|
<div>25s</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user