mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-14 13:28:08 +00:00
cap attacks panel height and make it scrollable when overflow
This commit is contained in:
@@ -441,7 +441,7 @@ export class AttacksDisplay extends LitElement implements Layer {
|
|||||||
|
|
||||||
return html`
|
return html`
|
||||||
<div
|
<div
|
||||||
class="w-full mb-1 mt-1 sm:mt-0 pointer-events-auto grid grid-cols-2 gap-1 text-white text-sm lg:text-base"
|
class="w-full mb-1 mt-1 sm:mt-0 pointer-events-auto grid grid-cols-2 gap-1 text-white text-sm lg:text-base max-h-[7rem] overflow-y-auto"
|
||||||
>
|
>
|
||||||
${this.renderOutgoingAttacks()} ${this.renderOutgoingLandAttacks()}
|
${this.renderOutgoingAttacks()} ${this.renderOutgoingLandAttacks()}
|
||||||
${this.renderBoats()} ${this.renderIncomingAttacks()}
|
${this.renderBoats()} ${this.renderIncomingAttacks()}
|
||||||
|
|||||||
Reference in New Issue
Block a user