Skip to content

Commit

Permalink
welcome and tour boxes fixed for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerwuster committed Jan 15, 2025
1 parent 76fddf1 commit 0a904f5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
8 changes: 4 additions & 4 deletions site/package-lock.json

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

7 changes: 7 additions & 0 deletions site/src/StartupBox.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,10 @@ p.light-startup {
display: flex;
justify-content: center;
}

@media (max-width: 768px) {
div.startup-box-light,
div.startup-box-dark {
width: 70%;
}
}
6 changes: 6 additions & 0 deletions site/src/Tour.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@media (max-width: 768px) {
.__floater {
max-height: 50%;
width: 13.5em;
}
}
1 change: 1 addition & 0 deletions site/src/Tour.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Joyride, { ACTIONS, EVENTS, LIFECYCLE } from "react-joyride";
import { useState } from "react";
import LayerIcon from "./icons/icon-layers.svg?react";
import "./Tour.css";

const Steps = [
{
Expand Down
3 changes: 2 additions & 1 deletion site/src/inspector_panel/InspectorPanel.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
}

@media (max-width: 768px) {
max-height: 50%;
max-height: 380px;
width: 70%;
}

table {
Expand Down

0 comments on commit 0a904f5

Please sign in to comment.