use class instead of inline style for note info calculate button

This commit is contained in:
contributor 2025-11-10 10:56:05 +02:00
parent 4d1ebd011c
commit a1c959aabd
2 changed files with 4 additions and 1 deletions

View File

@ -62,7 +62,6 @@ export default function NoteInfoTab({ note }: TabContext) {
{!isLoading && !noteSizeResponse && !subtreeSizeResponse && (
<Button
className="calculate-button"
style={{ padding: "0px 10px 0px 10px" }}
icon="bx bx-calculator"
text={t("note_info_widget.calculate")}
onClick={() => {

View File

@ -189,6 +189,10 @@
font-size: 0.8em;
vertical-align: middle !important;
}
.note-info-widget .calculate-button {
padding: 0 10px;
}
/* #endregion */
/* #region Similar Notes */