mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
fix: display shot card on all devices
This commit is contained in:
1 parent
d5d0a8b308
commit
b48515bf37
3 files changed
-18
No files matched your search
@@ -173,7 +173,6 @@ export function ShotDisplay() {
|
||||
|
||||
<Html position={inLast.point} center>
|
||||
<Box
|
||||
display={isFullscreen ? undefined : { initial: 'none', sm: 'block' }}
|
||||
style={{
|
||||
pointerEvents: 'none',
|
||||
transform: `translateY(${tracerGoingUp ? 50 : -50}%)`,
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
import { Flex } from '@radix-ui/themes';
|
||||
import { TankopediaEphemeral } from '../../stores/tankopediaEphemeral';
|
||||
import { ShotDisplayCard } from '../Armor/components/ShotDisplayCard';
|
||||
|
||||
export function ShotDisplaySection() {
|
||||
const shot = TankopediaEphemeral.use((state) => state.shot);
|
||||
|
||||
if (!shot) return null;
|
||||
|
||||
return (
|
||||
<Flex justify="center" display={{ initial: 'flex', sm: 'none' }}>
|
||||
<ShotDisplayCard shot={shot} />
|
||||
</Flex>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user