Skip to content

Commit

Permalink
Merge branch 'stevejcl:apiV2' into apiV2
Browse files Browse the repository at this point in the history
  • Loading branch information
acocalypso authored Apr 24, 2024
2 parents 02c39e8 + f7cb534 commit 5137004
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 10 deletions.
16 changes: 8 additions & 8 deletions src/components/shared/CalibrationDwarf.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ export default function CalibrationDwarf() {
<button
className={`btn ${
connectionCtx.connectionStatus
? "btn-more02 btn-2lines"
: "btn-more02 btn-2lines"
? "btn-more02"
: "btn-more02"
} me-4 mt-3`}
onClick={RingLightsOffFn}
disabled={!connectionCtx.connectionStatus}
Expand All @@ -206,8 +206,8 @@ export default function CalibrationDwarf() {
<button
className={`btn ${
connectionCtx.connectionStatus
? "btn-more03 btn-2lines"
: "btn-more03 btn-2lines"
? "btn-more03"
: "btn-more03"
} me-4 mt-3`}
onClick={RingLightsOnFn}
disabled={!connectionCtx.connectionStatus}
Expand All @@ -225,8 +225,8 @@ export default function CalibrationDwarf() {
<button
className={`btn ${
connectionCtx.connectionStatus
? "btn-more02 btn-2lines"
: "btn-more02 btn-2lines"
? "btn-more02"
: "btn-more02"
} me-4 mt-3`}
onClick={PowerLightsOffFn}
disabled={
Expand All @@ -244,8 +244,8 @@ export default function CalibrationDwarf() {
<button
className={`btn ${
connectionCtx.connectionStatus
? "btn-more03 btn-2lines"
: "btn-more03 btn-2lines"
? "btn-more03"
: "btn-more03"
} me-4 mt-3`}
onClick={PowerLightsOnFn}
disabled={
Expand Down
16 changes: 16 additions & 0 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,22 @@ img {
margin-top: 0px; /* Add some spacing between button and other elements */
}
}
@media (max-width: 768px) {
/* Adjusting column widths for small screens */
.col-sm-1,
.col-sm-3,
.col-sm-4 {
flex: 0 0 auto;
max-width: none;
}

/* Adjusting margin for buttons on small screens */
button {
margin-top: 0.5rem;
margin-right: 0.5rem;
}
}

.footer {
position: fixed;
bottom: 0;
Expand Down
4 changes: 2 additions & 2 deletions src/styles/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
}

.btn {
height: 40px;
border-radius: 0;
height: 50px;
border-radius: 5px;
// focus &:focus, &:active, &:active:focus

{
Expand Down
1 change: 1 addition & 0 deletions src/styles/style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5137004

Please sign in to comment.