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

Style wiki table headers to look more like in the editor and make the content scrollable when the table is long

Henriette Dinger6ba69551f577
diff --git a/app/assets/stylesheets/content/_wiki.sass b/app/assets/stylesheets/content/_wiki.sass
index 5b1900c5093..8e4221fa69a 100644
--- a/app/assets/stylesheets/content/_wiki.sass
+++ b/app/assets/stylesheets/content/_wiki.sass
@@ -63,7 +63,10 @@ div.wiki
td, th
border: 1px solid #bbb
- padding: 4px
+
+ th
+ background: rgba(0, 0, 0, 0.05)
+ padding: 10px
// ------------------- LISTINGS -------------------
ul.toc
@@ -141,12 +144,16 @@ h1:hover, h2:hover, h3:hover
max-width: 100%
.wiki.wiki-content
+ overflow: auto
overflow-wrap: break-word
word-wrap: break-word
+ @include styled-scroll-bar
.wiki--content--attribute
.form--field-container
max-width: 100%
+ .form--text-area-container
+ overflow: hidden
#wiki_page_parent_id
overflow: auto