improved look on small devices

This commit is contained in:
NilsUeter
2024-02-18 11:04:37 +01:00
parent 1c2bea275e
commit 4588629f5e
3 changed files with 13 additions and 4 deletions
+2 -2
View File
@@ -347,10 +347,10 @@ const Unit = ({ unit, index, catalog, onePerPage, forceRules }) => {
</div>
</div>
<div
// hide border left and right when width smaller than 600px
className="border-b-2 border-t-0 border-[var(--primary-color)] sm:border-l-2 sm:border-r-2"
style={{
display: "flex",
border: "2px solid var(--primary-color)",
borderTop: "none",
backgroundColor: "#DFE0E2",
}}
>
+2 -1
View File
@@ -14,7 +14,7 @@ export const Weapons = ({ title, weapons, modelStats, forceRules }) => {
color: "#fff",
}}
>
<th className="w-[2.2em]">
<th className="w-[2em]">
<div
style={{
display: "flex",
@@ -119,6 +119,7 @@ const Weapon = ({ weapon, previousWeapon, nextWeapon, isMelee, className }) => {
alignItems: "center",
flexWrap: "wrap",
gap: "0 4px",
lineHeight: 1.2,
}}
>
{differentProfiles && selectionName + " - "}