diff --git a/client/src/components/Messages/Message.jsx b/client/src/components/Messages/Message.jsx
index 622b907454..f7e446463e 100644
--- a/client/src/components/Messages/Message.jsx
+++ b/client/src/components/Messages/Message.jsx
@@ -154,11 +154,13 @@ export default function Message({
) : (
icon
)}
-
+
+
+
@@ -217,6 +219,15 @@ export default function Message({
visible={!error && isCreatedByUser && !edit}
onClick={() => enterEdit()}
/>
+
diff --git a/client/src/components/Messages/SiblingSwitch.jsx b/client/src/components/Messages/SiblingSwitch.jsx
index 2d746210b1..ebca64cdf0 100644
--- a/client/src/components/Messages/SiblingSwitch.jsx
+++ b/client/src/components/Messages/SiblingSwitch.jsx
@@ -13,7 +13,7 @@ export default function SiblingSwitch({
setSiblingIdx(siblingIdx + 1);
}
return siblingCount > 1 ? (
-
+ <>
@@ -21,6 +21,6 @@ export default function SiblingSwitch({
-
+ >
):null;
}
diff --git a/client/src/mobile.css b/client/src/mobile.css
index 321663129c..70977212db 100644
--- a/client/src/mobile.css
+++ b/client/src/mobile.css
@@ -1,70 +1,77 @@
.nav-mask {
- position: fixed;
- z-index: 998;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- background-color: rgba(86, 88, 105, .75);
- padding-left: 420px;
- padding-top: 12px;
- opacity: 0;
- transition: all .5s;
- pointer-events: none;
+ position: fixed;
+ z-index: 998;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ background-color: rgba(86, 88, 105, 0.75);
+ padding-left: 420px;
+ padding-top: 12px;
+ opacity: 0;
+ transition: all 0.5s;
+ pointer-events: none;
}
.nav {
- transition: all .5s;
+ transition: all 0.5s;
}
.nav-close-button {
+ display: none;
+}
+
+@media (min-width: 1024px) {
+ .sibling-switch-container {
display: none;
+ }
}
@media (max-width: 1024px) {
- .sibling-switch {
+ /* .sibling-switch {
left: 114px;
top: unset;
bottom: 4px;
visibility: visible;
z-index: 2;
- }
+ } */
+ .sibling-switch {
+ display: none;
+ }
- .resubmit-edit-button {
- display: block;
- visibility: visible;
- }
+ .resubmit-edit-button {
+ display: block;
+ visibility: visible;
+ }
}
@media (max-width: 767px) {
- .nav-close-button {
- display: block;
- position: absolute;
- left: 100%;
- top: 12px;
- margin-left: 20px;
- }
+ .nav-close-button {
+ display: block;
+ position: absolute;
+ left: 100%;
+ top: 12px;
+ margin-left: 20px;
+ }
- .nav {
- position: fixed;
- z-index: 999;
- left: calc(-100%);;
- top: 0;
- bottom: 0;
- max-width: 320px;
- width: calc(100% - 60px);
- opacity: 0;
- }
-
- .nav.active {
- left: 0;
- opacity: 1;
- }
+ .nav {
+ position: fixed;
+ z-index: 999;
+ left: calc(-100%);
+ top: 0;
+ bottom: 0;
+ max-width: 320px;
+ width: calc(100% - 60px);
+ opacity: 0;
+ }
- .nav-mask.active {
- opacity: 1;
- pointer-events: auto;
- }
+ .nav.active {
+ left: 0;
+ opacity: 1;
+ }
+
+ .nav-mask.active {
+ opacity: 1;
+ pointer-events: auto;
+ }
}
-
-
\ No newline at end of file