Fix linter issues and limit session grid to 2 columns

- Remove unused css import in mobile-terminal component
- Fix unused location parameter in custom-weblinks-addon
- Limit session list grid to maximum 2 cards per row

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Mario Zechner 2025-06-17 23:40:08 +02:00
parent 2650058bb9
commit 689bd1d765
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
import { LitElement, html, css, nothing } from 'lit';
import { LitElement, html, nothing } from 'lit';
import { customElement, property, state } from 'lit/decorators.js';
import { Terminal } from '@xterm/xterm';
import { ScaleFitAddon } from '../scale-fit-addon.js';

View file

@ -98,7 +98,7 @@ export class SessionList extends LitElement {
</div>
`
: html`
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
${repeat(
filteredSessions,
(session) => session.id,

View file

@ -27,7 +27,7 @@ export class CustomWebLinksAddon implements ITerminalAddon {
hover: (
event: MouseEvent,
uri: string,
location: { start: { x: number; y: number }; end: { x: number; y: number } }
_location: { start: { x: number; y: number }; end: { x: number; y: number } }
) => {
console.log('Custom WebLinks hover:', uri);
// Style the link on hover