diff --git a/website/src/Bird_CNN.css b/website/src/Bird_CNN.css index e90be5d..4a5deb4 100644 --- a/website/src/Bird_CNN.css +++ b/website/src/Bird_CNN.css @@ -140,7 +140,11 @@ a:hover { box-sizing: content-box; } -.input-box { +.request-box .custom-button{ + box-sizing: border-box; +} + +.input-box-cnn { scroll-margin-top: 100px; width: min(500px, 100%); height: 160px; diff --git a/website/src/Bird_CNN.jsx b/website/src/Bird_CNN.jsx index 303684d..960c7fd 100644 --- a/website/src/Bird_CNN.jsx +++ b/website/src/Bird_CNN.jsx @@ -3,7 +3,7 @@ import './Bird_CNN.css'; function Bird_CNN() { const apiUrl = process.env.NODE_ENV === "development" - ? "http://localhost:8000" + ? "https://api.marvinkrausser.com" : "https://api.marvinkrausser.com"; const [file, setFile] = useState(null); @@ -102,7 +102,7 @@ function Bird_CNN() {
-
+
) diff --git a/website/src/components/SelectDropdown.jsx b/website/src/components/SelectDropdown.jsx index c16a0b5..62d784d 100644 --- a/website/src/components/SelectDropdown.jsx +++ b/website/src/components/SelectDropdown.jsx @@ -38,8 +38,9 @@ function SelectDropdown(props) { String(selectedInput) !== String(item) && (
= (values.length - (selectedInput == values.at(-1) ? 2 : 1)) ? ' last' : '')} + className={`review-select-item review-select-box-${indices[indices.length - 1]} ${classNames}` + (i >= (values.length - (selectedInput == values.at(-1) ? 2 : 1)) ? ' last' : '')} onClick={() => changeSelectedInput(item)} + style={{gridArea:`box${indices.pop()}`}} > {item}
diff --git a/website/src/index.css b/website/src/index.css index 69e6653..5552e1b 100644 --- a/website/src/index.css +++ b/website/src/index.css @@ -61,7 +61,7 @@ h4 { .custom-button { font-size: 1rem; font-weight: bold; - height: 40px; + height: 45px; padding: 10px 20px; background: var(--surface); color: rgb(0, 0, 0);