Skip to content

Commit

Permalink
fix(client): layout inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
TyIsI committed Dec 29, 2024
1 parent e82648c commit b646d83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
4 changes: 3 additions & 1 deletion client/src/Components/DeviceCard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ const DeviceCard = ({ id }) => {
<Col>
<Row className='tool-title'>
<Col>
<h3>{device.id}</h3>
<div>
<h3>{device.id}</h3>
</div>
</Col>
</Row>
<Row className='spacious'>
Expand Down
10 changes: 2 additions & 8 deletions client/src/Components/DeviceCard/style.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
.DeviceCard {
border: solid 1px grey;
border-radius: 5px;
margin-top: 5px;
margin-bottom: 5px;
/* margin-left: 5px;
margin-right : 5px; */
padding: -15px;
width: 90em;
margin: 5px auto;
}

.tool-title {
border-bottom-width: 80px;
.tool-title > .col > div {
border-bottom: solid 2px black;
}

0 comments on commit b646d83

Please sign in to comment.