mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-27 15:17:38 +00:00
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:
parent
2650058bb9
commit
689bd1d765
3 changed files with 3 additions and 3 deletions
|
|
@ -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 { customElement, property, state } from 'lit/decorators.js';
|
||||||
import { Terminal } from '@xterm/xterm';
|
import { Terminal } from '@xterm/xterm';
|
||||||
import { ScaleFitAddon } from '../scale-fit-addon.js';
|
import { ScaleFitAddon } from '../scale-fit-addon.js';
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ export class SessionList extends LitElement {
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
: html`
|
: 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(
|
${repeat(
|
||||||
filteredSessions,
|
filteredSessions,
|
||||||
(session) => session.id,
|
(session) => session.id,
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ export class CustomWebLinksAddon implements ITerminalAddon {
|
||||||
hover: (
|
hover: (
|
||||||
event: MouseEvent,
|
event: MouseEvent,
|
||||||
uri: string,
|
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);
|
console.log('Custom WebLinks hover:', uri);
|
||||||
// Style the link on hover
|
// Style the link on hover
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue