From a2ea76f19f2aed347ca083748d5ed3998b329957 Mon Sep 17 00:00:00 2001 From: David <33458145+davidmcpowell@users.noreply.github.com> Date: Mon, 21 Oct 2024 09:53:42 +0100 Subject: [PATCH] Merge pull request #21201 from overleaf/dp-toolbar-ui Style adjustments for add comment tooltip GitOrigin-RevId: 7fdc008fea4a191ff8bacca9a77e23cd55faac5a --- .../js/features/source-editor/extensions/add-comment.ts | 2 +- .../web/frontend/stylesheets/app/editor/review-panel-new.less | 1 + .../stylesheets/bootstrap-5/pages/editor/review-panel-new.scss | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/services/web/frontend/js/features/source-editor/extensions/add-comment.ts b/services/web/frontend/js/features/source-editor/extensions/add-comment.ts index e74de8b3e7..0d297e9491 100644 --- a/services/web/frontend/js/features/source-editor/extensions/add-comment.ts +++ b/services/web/frontend/js/features/source-editor/extensions/add-comment.ts @@ -121,7 +121,7 @@ const addCommentTheme = EditorView.baseTheme({ }, '& .review-tooltip-menu-button': { '&:hover': { - backgroundColor: '#e7e9ee', + backgroundColor: '#2f3a4c14', }, }, }, diff --git a/services/web/frontend/stylesheets/app/editor/review-panel-new.less b/services/web/frontend/stylesheets/app/editor/review-panel-new.less index 9022cf159f..07fc91a8af 100644 --- a/services/web/frontend/stylesheets/app/editor/review-panel-new.less +++ b/services/web/frontend/stylesheets/app/editor/review-panel-new.less @@ -621,6 +621,7 @@ align-items: center; gap: 2px; padding: 2px; + border-radius: @border-radius-base; } .review-tooltip-add-comment-button { diff --git a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/review-panel-new.scss b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/review-panel-new.scss index 902be693d3..fd5ff147b7 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/pages/editor/review-panel-new.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/pages/editor/review-panel-new.scss @@ -627,6 +627,7 @@ align-items: center; gap: var(--spacing-01); padding: var(--spacing-01); + border-radius: var(--border-radius-base); } .review-tooltip-add-comment-button {