Skip to content

Commit

Permalink
(fix): updated classnames
Browse files Browse the repository at this point in the history
  • Loading branch information
Arindam200 committed Jan 10, 2024
1 parent 6c874f2 commit 9796b58
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 30 deletions.
4 changes: 2 additions & 2 deletions src/app/components/Button/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import { createAsset } from "../Asset/Asset";
import "./button.css";
import "./Button.css";

export function CreateButton({
applicationData,
Expand All @@ -9,7 +9,7 @@ export function CreateButton({
}): React.JSX.Element {
return (
<button
className="btn"
className="button"
onClick={() => createAsset(applicationData, data, name)}
>
Create Snippet
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/Button/button.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.btn {
.button {
margin-top: 10px;
margin-bottom: 10px;
max-width: fit-content;
Expand Down
49 changes: 24 additions & 25 deletions src/app/components/Header/Header.css
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
.custom-div {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
background-color: black;
padding: 0px 10px;
margin-bottom: 1rem;
box-shadow: -4px 4px 5px rgba(0, 0, 0, 0.2);
border-radius: 10px;
min-width: 1200px;
max-width: 1200px;
}

.custom-div h3 {
color: white;
font-weight: normal;
}

.custom-div span {
font-size: 8px;
margin-left: 5px;
font-weight: 100;
}

.header-div {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
background-color: black;
padding: 0px 10px;
margin-bottom: 1rem;
box-shadow: -4px 4px 5px rgba(0, 0, 0, 0.2);
border-radius: 10px;
min-width: 1200px;
max-width: 1200px;
}

.header-div h3 {
color: white;
font-weight: normal;
}

.header-div span {
font-size: 8px;
margin-left: 5px;
font-weight: 100;
}
2 changes: 1 addition & 1 deletion src/app/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface HeaderProps {
// We don't support logic for detecting the offline status but will be adding it soon!
export function Header({ isConnected }: HeaderProps): React.JSX.Element {
return (
<div className="custom-div">
<div className="header-div">
<h3>
Pieces OS Client SDK for Typescript
<span>Open Source by Pieces</span>
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/TextInput/TextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from "react";
import { useState } from "react";
import { deleteAsset, renameAsset } from "../Asset/Asset";
import { CreateButton } from "../Button/Button";
import "./textinput.css";
import "./TextInput.css";

export function DataTextInput({ applicationData }) {
const [name, setName] = useState("");
Expand Down

0 comments on commit 9796b58

Please sign in to comment.