diff --git a/src/public/app/widgets/floating_buttons/floating_buttons.ts b/src/public/app/widgets/floating_buttons/floating_buttons.ts index 6fa8727fe..c7bf9b343 100644 --- a/src/public/app/widgets/floating_buttons/floating_buttons.ts +++ b/src/public/app/widgets/floating_buttons/floating_buttons.ts @@ -3,6 +3,14 @@ import { t } from "../../services/i18n.js"; import type FNote from "../../entities/fnote.js"; import type BasicWidget from "../basic_widget.js"; +/* + * Note: + * + * For floating button widgets that require content to overflow, the has-overflow CSS class should + * be applied to the root element of the widget. Additionally, this root element may need to + * properly handle rounded corners, as defined by the --border-radius CSS variable. + */ + const TPL = `