Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

avoid embedded table overlapping toc (#8877)

ulfertsb5f5a8a974f9
diff --git a/frontend/src/global_styles/content/user-content/_macros.sass b/frontend/src/global_styles/content/user-content/_macros.sass
index 4160355f515..522f33ac054 100644
--- a/frontend/src/global_styles/content/user-content/_macros.sass
+++ b/frontend/src/global_styles/content/user-content/_macros.sass
@@ -1,3 +1,4 @@
-.op-uc-embedded-table
+.op-uc-embedded-table
clear: both
+ display: block
diff --git a/frontend/src/global_styles/content/user-content/_table.sass b/frontend/src/global_styles/content/user-content/_table.sass
index 4d757bd7cab..af3bcde4117 100644
--- a/frontend/src/global_styles/content/user-content/_table.sass
+++ b/frontend/src/global_styles/content/user-content/_table.sass
@@ -3,9 +3,7 @@
border-collapse: collapse
border-spacing: 0
width: 100%
-
- @at-root .op-uc-container_editing &
- border: 1px solid rgba(0, 0, 0, 0.1)
+ border: 1px solid rgba(0, 0, 0, 0.1)
&--row
&:not(:last-child)