Skip to content

Commit f1fbf10

Browse files
committed
Fix styling issue
1 parent ed460f6 commit f1fbf10

7 files changed

Lines changed: 25 additions & 10 deletions

File tree

dist/hyperapp-devtools.js

Lines changed: 10 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/hyperapp-devtools.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/RunActionItem.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ function ToggleActionItem(props: ToggleActionItemProps) {
5656
return <span class="icon" />
5757
}
5858

59-
const onclick = () => actions.toggleAction({ run: run.id, path })
59+
const onclick = (e: Event) => {
60+
event.preventDefault()
61+
actions.toggleAction({ run: run.id, path })
62+
}
6063

6164
if (action.collapsed) {
6265
return <span class="icon icon-caret-right" onclick={onclick} />
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.run-action-item-list {
22
list-style-type: none;
3-
margin: 0.5rem 0 0 0.5rem;
3+
margin: 0.3rem 0 0 0.3rem;
44
}

src/components/RunsPane.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@
33
border: 1px solid #666666;
44
margin: 0.1rem;
55
align-items: stretch;
6+
7+
.runs-pane-runs {
8+
margin: 0.2rem 0rem 0.4rem 0.2rem;
9+
}
610
}

src/components/RunsPaneItem.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.run-pane-item {
2+
list-style-type: none;
3+
width: 100%;
4+
}

src/components/RunsPaneItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function RunsPaneItem(props: RunsPaneItemProps) {
2020

2121
return (
2222
<li class="run-pane-item" key={run.timestamp}>
23-
Run - {date}
23+
<h6>Run - {date}</h6>
2424
{RunActionItemList({
2525
state,
2626
actions,

0 commit comments

Comments
 (0)