Skip to content

Commit a1c959a

Browse files
committed
use class instead of inline style for note info calculate button
1 parent 4d1ebd0 commit a1c959a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

apps/client/src/widgets/ribbon/NoteInfoTab.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ export default function NoteInfoTab({ note }: TabContext) {
6262
{!isLoading && !noteSizeResponse && !subtreeSizeResponse && (
6363
<Button
6464
className="calculate-button"
65-
style={{ padding: "0px 10px 0px 10px" }}
6665
icon="bx bx-calculator"
6766
text={t("note_info_widget.calculate")}
6867
onClick={() => {

apps/client/src/widgets/ribbon/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@
189189
font-size: 0.8em;
190190
vertical-align: middle !important;
191191
}
192+
193+
.note-info-widget .calculate-button {
194+
padding: 0 10px;
195+
}
192196
/* #endregion */
193197

194198
/* #region Similar Notes */

0 commit comments

Comments
 (0)