- Raumcode
+
+
+
+
+
+
+
+
diff --git a/resources/js/components/rooms/RoomModeratorControls.vue b/resources/js/components/rooms/RoomModeratorControls.vue
index 406477f..4747577 100644
--- a/resources/js/components/rooms/RoomModeratorControls.vue
+++ b/resources/js/components/rooms/RoomModeratorControls.vue
@@ -106,4 +106,24 @@ function resetVotes(): void {
left: 1rem;
}
}
+
+@media (min-width: 768px) and (max-height: 800px) {
+ .moderator-controls,
+ .reset-controls {
+ bottom: 0.75rem;
+ }
+
+ .moderator-controls {
+ right: 0.75rem;
+ }
+
+ .reset-controls {
+ left: 0.75rem;
+ }
+
+ button {
+ padding: 0.5rem 0.75rem;
+ font-size: 0.875rem;
+ }
+}
diff --git a/resources/js/components/rooms/RoomSeat.vue b/resources/js/components/rooms/RoomSeat.vue
index 7c6e27f..2c4a227 100644
--- a/resources/js/components/rooms/RoomSeat.vue
+++ b/resources/js/components/rooms/RoomSeat.vue
@@ -39,7 +39,7 @@ function playerVote(): string | null {
:aria-label="`${player.name} hat eine Karte gewählt`"
>
@@ -313,6 +313,27 @@ function playerVote(): string | null {
}
}
+@media (min-width: 768px) and (max-height: 800px) {
+ .player-seat {
+ width: 7rem;
+ }
+
+ .player-details {
+ margin-top: 0.25rem;
+ }
+
+ .seat-card {
+ top: 1.5rem;
+ width: 2.75rem;
+ height: 3.8rem;
+ }
+
+ .own-vote-card,
+ .flip-card-face {
+ font-size: 1rem;
+ }
+}
+
@media (prefers-reduced-motion: reduce) {
.flip-card-inner {
transition: none;
diff --git a/resources/js/components/rooms/RoomTable.vue b/resources/js/components/rooms/RoomTable.vue
index 6f325a8..b68501f 100644
--- a/resources/js/components/rooms/RoomTable.vue
+++ b/resources/js/components/rooms/RoomTable.vue
@@ -1,4 +1,5 @@
-
+
@@ -109,6 +113,7 @@ const voteCount = computed(
:current-vote="currentPlayer.current_vote"
:cards="room.deck.cards"
:revealed="room.revealed"
+ :presenter-mode="presenterMode"
:is-paper-ball-hit="hitPlayerIds.includes(player.id)"
:throw-disabled="throwingAtPlayerId !== null"
@throw-paper-ball="throwPaperBall"
@@ -132,6 +137,13 @@ const voteCount = computed(
isolation: isolate;
}
+@media (min-width: 768px) {
+ .game-board {
+ height: 100%;
+ min-height: 0;
+ }
+}
+
.poker-table {
position: absolute;
inset: 20% 15% 21%;
diff --git a/resources/js/components/rooms/RoomVoteDeck.vue b/resources/js/components/rooms/RoomVoteDeck.vue
index 6070b85..54e79ec 100644
--- a/resources/js/components/rooms/RoomVoteDeck.vue
+++ b/resources/js/components/rooms/RoomVoteDeck.vue
@@ -1,5 +1,7 @@
-
+
@@ -78,6 +149,7 @@ function submitVote(value: string): void {