Skip to content

Commit

Permalink
Fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
edisontim committed Jul 29, 2024
1 parent ff852df commit 331f41e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions client/src/ui/components/trading/MarketModal.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { useGetBanks } from "@/hooks/helpers/useBanks";
import { useEntities } from "@/hooks/helpers/useEntities";
import { useSetMarket } from "@/hooks/helpers/useTrade";
import useMarketStore from "@/hooks/store/useMarketStore";
Expand All @@ -14,7 +15,6 @@ import { HintModal } from "../hints/HintModal";
import { ModalContainer } from "../ModalContainer";
import { MarketOrderPanel, MarketResource } from "./MarketOrderPanel";
import { MarketTradingHistory } from "./MarketTradingHistory";
import { useGetBanks } from "@/hooks/helpers/useBanks";
import { TransferBetweenEntities } from "./TransferBetweenEntities";

export const MarketModal = () => {
Expand Down Expand Up @@ -86,14 +86,14 @@ export const MarketModal = () => {

return (
<ModalContainer>
<div className="container border mx-auto grid grid-cols-12 bg-brown border-gold/30 clip-angled h-full row-span-12 ">
<div className="container border mx-auto grid grid-cols-12 bg-black/90 bg-hex-bg border-gold/30 clip-angled h-full row-span-12 ">
<div className="col-span-12 p-2 flex justify-between row-span-2">
<div className="self-center text-xl">
<Select value={realmEntityId.toString()} onValueChange={(trait) => setRealmEntityId(BigInt(trait))}>
<SelectTrigger className="w-[180px]">
<SelectValue placeholder="Select Realm" />
</SelectTrigger>
<SelectContent className="bg-brown ">
<SelectContent className="bg-black/90 bg-hex-bg">
{playerRealms().map((realm, index) => (
<SelectItem key={index} value={realm.entity_id?.toString() || ""}>
{realm.name}
Expand Down
6 changes: 4 additions & 2 deletions client/src/ui/modules/military/battle-view/TopScreenView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ export const TopScreenView = () => {
animate="visible"
exit="hidden"
>
<div className="mx-auto bg-brown text-gold text-2xl p-4 flex flex-col w-72 text-center clip-angled ">
<div className="mx-auto bg-black/80 bg-hex-bg text-gold text-2xl p-4 flex flex-col w-72 text-center clip-angled ">
<div className="mb-4">Battle!</div>
<Button onClick={() => setBattleView(null)}>exit battle view</Button>
<Button className="bg-gold/20 text-white" onClick={() => setBattleView(null)}>
exit battle view
</Button>
</div>
</motion.div>
);
Expand Down

0 comments on commit 331f41e

Please sign in to comment.