Skip to content

Commit

Permalink
formatting update
Browse files Browse the repository at this point in the history
  • Loading branch information
eimrek committed Aug 8, 2024
1 parent 3871340 commit 54bc5b8
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 47 deletions.
38 changes: 0 additions & 38 deletions src/App.css

This file was deleted.

1 change: 0 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useState, useEffect } from "react";

import "./App.css";
import StructureVisualizer from "./StructureVisualizer";

async function fetchCif3D() {
Expand Down
12 changes: 7 additions & 5 deletions src/StructureVisualizer/ControlBox/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,22 @@
width: 100%;
background: #f8f8f8;
text-align: center;
border: 1px solid #999;
/* border: 1px solid #999; */
display: flex;
flex-wrap: wrap;
flex-direction: column;
justify-content: center;
align-items: start;
border-radius: 5px;
margin-top: -5px;
padding: 15px 10px 10px 10px;
/* border-radius: 5px; */
margin-top: -2px;
padding: 10px;
}

.supercell-container {
display: flex;
align-items: center;
gap: 2px;
padding: 2px;
}

.supercell-input {
Expand All @@ -33,7 +34,7 @@

.control-box-row {
/* margin: 3px; */
padding: 4px;
padding: 2px;
width: 100%;
line-height: inherit;
/* background-color: pink; */
Expand All @@ -59,6 +60,7 @@
justify-items: center;
text-align: center;
gap: 2px;
padding: 2px;
}

.camera-button {
Expand Down
6 changes: 3 additions & 3 deletions src/StructureVisualizer/StructureWindow/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
width: 100%;
background: white;
text-align: center;
border: 1px solid #999;
border-bottom: 1px solid #999;
display: flex;
justify-content: center;
align-items: center;
border-radius: 5px;
/* border-radius: 5px; */
}

.disable-mouse {
Expand All @@ -37,7 +37,7 @@
border-radius: 5px;
position: absolute;
bottom: 10px;
right: 10px;
left: 10px;
z-index: 3;
cursor: pointer;
user-select: none;
Expand Down
3 changes: 3 additions & 0 deletions src/StructureVisualizer/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@
font-size: 16px;
display: flex;
flex-direction: column;
border-radius: 5px;
border: 1px solid #999;
overflow: hidden;
}
1 change: 1 addition & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ body {
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: rgb(180, 237, 252);
}

code {
Expand Down

0 comments on commit 54bc5b8

Please sign in to comment.