Skip to content

Commit

Permalink
chore: release 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MR-Addict committed Feb 18, 2024
1 parent bb46e95 commit be83070
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
12 changes: 6 additions & 6 deletions backend/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mdbook-repl"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "MIT"
readme = "../README.md"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Output/Output.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

/* clear button */
.clear-button {
@apply p-0.5 rounded-full bg-gray-500 text-white absolute right-2 top-2 sm:opacity-0 duration-300;
@apply rounded-full text-gray-500 absolute right-2 top-2 sm:opacity-0 duration-300;
}

.clear-button:disabled {
Expand Down
10 changes: 7 additions & 3 deletions frontend/src/components/Output/Output.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import clsx from "clsx";
import { IoCloseOutline } from "react-icons/io5";
import { IoCloseCircleOutline } from "react-icons/io5";

import style from "./Output.module.css";

Expand All @@ -13,8 +13,12 @@ export default function Output() {
return (
<div data-status={output.status} className={clsx(style.wrapper, "dark:text-gray-300")}>
<p className={clsx(style.output, "dark:bg-zinc-800")}>{output.msg || "Sorry, there is no output"}</p>
<button type="button" className={style["clear-button"]} onClick={() => setOutput({ status: "idle", msg: "" })}>
<IoCloseOutline size={18} />
<button
type="button"
className={clsx(style["clear-button"], "dark:text-gray-400 sm:hover:text-blue-600 sm:dark:hover:text-gray-300")}
onClick={() => setOutput({ status: "idle", msg: "" })}
>
<IoCloseCircleOutline size={19} />
</button>
</div>
);
Expand Down

0 comments on commit be83070

Please sign in to comment.