mirror of
https://github.com/aykhans/slash-e.git
synced 2025-09-06 09:14:18 +00:00
chore: remove less
This commit is contained in:
@@ -58,7 +58,7 @@ const ShortcutListView: React.FC<Props> = (props: Props) => {
|
||||
<span className="text-gray-400 text-sm ml-2">({shortcut.description})</span>
|
||||
</div>
|
||||
<div className="flex flex-row justify-end items-center">
|
||||
<span className=" w-12 mr-2 text-gray-600">{shortcut.creator.name}</span>
|
||||
<span className="w-16 truncate mr-2 text-gray-600">{shortcut.creator.name}</span>
|
||||
<button
|
||||
className="cursor-pointer mr-4 hover:opacity-80"
|
||||
onClick={() => {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { useEffect } from "react";
|
||||
import { createRoot, Root } from "react-dom/client";
|
||||
import "../less/toast.less";
|
||||
import "../css/toast.css";
|
||||
|
||||
type ToastType = "normal" | "success" | "info" | "error";
|
||||
|
||||
@@ -30,7 +30,7 @@ const Toast: React.FC<ToastItemProps> = (props: ToastItemProps) => {
|
||||
|
||||
return (
|
||||
<div className="toast-container" onClick={destory}>
|
||||
<p className="content-text">{props.content}</p>
|
||||
<p className="text-sm whitespace-pre-wrap break-words leading-6 max-w-xs">{props.content}</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user