aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2023-09-06 06:18:34 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2023-09-06 06:18:34 +0000
commit09c6eaf6582ad9ea142d0773ff2b5da8d9014fcd (patch)
treee41d282c87736f6edd0b3161b0880cb8ce18b3bf /resources
parentc508a4dddcc2c6839e6329e3623d94d09acf8fe0 (diff)
fixes #2772, fixes #2812
Closes #2772 and #2812 Merge request studip/studip!1894
Diffstat (limited to 'resources')
-rw-r--r--resources/assets/stylesheets/scss/content.scss23
1 files changed, 1 insertions, 22 deletions
diff --git a/resources/assets/stylesheets/scss/content.scss b/resources/assets/stylesheets/scss/content.scss
index 4769434..e04851b 100644
--- a/resources/assets/stylesheets/scss/content.scss
+++ b/resources/assets/stylesheets/scss/content.scss
@@ -25,13 +25,8 @@
height: 15px;
}
-// Display formatted content as inline so we don't break any existing code
-// that expects formatReady() to output an inline elements instead of a
-// block element.
-// If browser support for "display: contents" is given, this should be changed
-// to that instead.
.formatted-content {
- display: inline;
+ display: flow-root;
a {
word-break: break-all;
@@ -54,22 +49,6 @@
pre { // pre-formatted content breaks the Stud.IP Layout!
white-space: pre-wrap;
}
-
- figure.table {
- display: table;
- margin: 0.9em auto;
-
- &:not([style]) {
- margin-inline-start: 0;
- }
-
- table {
- td {
- min-width: 2em;
- padding: 0.4em;
- }
- }
- }
}
// Emphasize tt tags a little bit so ##monospace## blocks will stick out.