Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
m110 committed Jun 12, 2024
1 parent ab99d9a commit d184aa8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ func main() {
ReactionID: allReactions[rand.Intn(len(allReactions))].ID,
})
}
time.Sleep(3 * time.Second)

time.Sleep(time.Millisecond * time.Duration(3000+rand.Intn(5000)))
}
}()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ templ base() {
.reaction-buttons form {
display: inline;
}

.reaction-buttons button {
font-size: 0.8rem !important;
}
</style>
</head>
<body>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ templ reactionButton(postID string, reaction Reaction) {
}

templ UpdatedButton(label string) {
<button class={"btn", "btn-outline-secondary", "m-1"} disabled>
<button class={"btn", "btn-outline-secondary", "m-1" } disabled>
<span class="emoji">{ label }</span>
<span class="counter">✅</span>
</button>
Expand Down

0 comments on commit d184aa8

Please sign in to comment.