mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 09:15:50 +01:00
use class instead of inline style for note info calculate button
This commit is contained in:
@@ -62,7 +62,6 @@ export default function NoteInfoTab({ note }: TabContext) {
|
|||||||
{!isLoading && !noteSizeResponse && !subtreeSizeResponse && (
|
{!isLoading && !noteSizeResponse && !subtreeSizeResponse && (
|
||||||
<Button
|
<Button
|
||||||
className="calculate-button"
|
className="calculate-button"
|
||||||
style={{ padding: "0px 10px 0px 10px" }}
|
|
||||||
icon="bx bx-calculator"
|
icon="bx bx-calculator"
|
||||||
text={t("note_info_widget.calculate")}
|
text={t("note_info_widget.calculate")}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|||||||
@@ -189,6 +189,10 @@
|
|||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
vertical-align: middle !important;
|
vertical-align: middle !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.note-info-widget .calculate-button {
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
/* #endregion */
|
/* #endregion */
|
||||||
|
|
||||||
/* #region Similar Notes */
|
/* #region Similar Notes */
|
||||||
|
|||||||
Reference in New Issue
Block a user