Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tyom committed Jan 5, 2024
1 parent 878340a commit e36f010
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
6 changes: 1 addition & 5 deletions src/components/Timeline.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
<div class="flex flex-1 h-2 gap-px">
{#each timelineEvents as event}
<button
class="btn {event.modifier}"
class="btn bg-zinc-300 min-w-[4px] hover:(transition-colors duration-200 bg-zinc-400) {event.modifier}"
class:!bg-blue-900={event.isVisible}
aria-label={event.label}
style="width: {event.percent}%"
Expand All @@ -133,10 +133,6 @@
{/if}

<style>
.btn {
--at-apply: bg-zinc-300 min-w-[4px] hover:(transition-colors duration-200 bg-zinc-400);
}
.contract {
--at-apply: bg-blue-300 hover\:bg-blue-500;
}
Expand Down

0 comments on commit e36f010

Please sign in to comment.