Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
feat(ui): Use icon to show activity
Browse files Browse the repository at this point in the history
The long text caused annoying UI movement when the "undo" link appears.
  • Loading branch information
oliversalzburg committed Jul 17, 2021
1 parent 3c3990d commit 56f494a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/userscript/source/ui/UserInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ export class UserInterface {

const showActivity = $("<a/>", {
id: "showActivityHref",
text: this._host.i18n("summary.show"),
text: "📝",
title: this._host.i18n("summary.show"),
href: "#",
css: {
verticalAlign: "top",
Expand All @@ -94,7 +95,7 @@ export class UserInterface {

activityBox.append(showActivity);

$("#clearLog").append(activityBox);
$("#clearLog").prepend(activityBox);

// Set up the message box.
const messageBox = $("<div/>", {
Expand Down

0 comments on commit 56f494a

Please sign in to comment.