Skip to content

Commit 3ebaa08

Browse files
committed
chor: implement vertical placement of two data-containers
1 parent 0f8bead commit 3ebaa08

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

src/App.css

+10-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,16 @@
3434
}
3535
}
3636

37-
.container {
38-
display: grid;
39-
grid-template-columns: 1fr 1fr;
40-
gap: 40px;
41-
text-align: start;
37+
.data-container {
38+
border: 1px solid #494949;
39+
padding: 15px;
40+
border-radius: 5px;
41+
background-color: rgb(243, 244, 245);
42+
margin: 15px 0px;
43+
}
44+
45+
.data-container:first-child {
46+
padding-bottom: 0px;
4247
}
4348

4449
.read-the-docs {

src/App.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function App() {
2121
<div>
2222
<TonConnectButton/>
2323

24-
<div className="container">
24+
<div className="data-container">
2525
<div>
2626
<h3>Contract Data:</h3>
2727
<b>Our contract Address:</b>
@@ -53,6 +53,8 @@ function App() {
5353
<div>{counter_value ?? "Loading..."}</div>
5454
</>
5555
</div>
56+
</div>
57+
<div className="data-container">
5658
<div>
5759
<h3>Contract actions: </h3>
5860
{connected ? (

0 commit comments

Comments
 (0)