removing mui icons as I just don't need it with the fi

This commit is contained in:
talksik
2022-05-05 05:45:08 -05:00
parent 52e0ae0d9e
commit 11cd498a2f
3 changed files with 16 additions and 25 deletions
-1
View File
@@ -108,7 +108,6 @@
}, },
"dependencies": { "dependencies": {
"@getstation/electron-google-oauth2": "^2.1.0", "@getstation/electron-google-oauth2": "^2.1.0",
"@mui/icons-material": "^5.6.2",
"@nirvana/core": "*", "@nirvana/core": "*",
"antd": "^4.20.2", "antd": "^4.20.2",
"axios": "^0.26.1", "axios": "^0.26.1",
+12 -12
View File
@@ -60,6 +60,17 @@ export default function NirvanaTerminal({
<p className="text-slate-300 text-xs">3/5</p> <p className="text-slate-300 text-xs">3/5</p>
</span> </span>
<Tooltip title="new line">
<div
onClick={() => setIsModalVisible(true)}
className="ml-auto shadow-xl"
>
<IconButton>
<FaPlus />
</IconButton>
</div>
</Tooltip>
</div> </div>
{/* list of all lines */} {/* list of all lines */}
@@ -76,7 +87,7 @@ export default function NirvanaTerminal({
{/* rest of the lines */} {/* rest of the lines */}
<div className={"flex flex-col relative h-full"}> <div className={"flex flex-col"}>
{restLines.map((line) => ( {restLines.map((line) => (
<LineRow <LineRow
id={line.lineId} id={line.lineId}
@@ -84,17 +95,6 @@ export default function NirvanaTerminal({
onClick={handleSelectLine} onClick={handleSelectLine}
/> />
))} ))}
<Tooltip title="new line">
<div
onClick={() => setIsModalVisible(true)}
className="ml-auto absolute bottom-5 right-5 shadow-xl"
>
<IconButton>
<FaPlus />
</IconButton>
</div>
</Tooltip>
</div> </div>
</div> </div>
); );
+4 -12
View File
@@ -1,3 +1,5 @@
@import "~antd/dist/antd.css";
#root { #root {
padding: 0 !important; padding: 0 !important;
font-family: "IBM Plex Sans", sans-serif; font-family: "IBM Plex Sans", sans-serif;
@@ -7,11 +9,9 @@
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
@import "~antd/dist/antd.css"; /* button {
button {
@apply transition-all; @apply transition-all;
} } */
#titlebar { #titlebar {
-webkit-user-select: none; -webkit-user-select: none;
@@ -28,14 +28,6 @@ button {
border: none; border: none;
} }
/* body {
background-color: #00000000;
}
html {
background-color: #00000000;
} */
.ant-modal-footer { .ant-modal-footer {
padding: 0 !important; padding: 0 !important;
} }