Skip to content
Snippets Groups Projects
Commit 06cffa11 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

stop using inline-block for links, fixes #4531

Closes #4531

Merge request studip/studip!3326
parent c5c53c47
No related branches found
No related tags found
No related merge requests found
...@@ -27,19 +27,7 @@ ...@@ -27,19 +27,7 @@
.formatted-content { .formatted-content {
display: flow-root; display: flow-root;
overflow-wrap: break-word;
a {
word-break: break-all;
&.link-extern,
&.link-intern {
display: inline-block;
max-width: 90%;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: top;
}
}
img { img {
height: auto; height: auto;
......
...@@ -151,18 +151,6 @@ $shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); ...@@ -151,18 +151,6 @@ $shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
margin: 0 0 0.75em 0; margin: 0 0 0.75em 0;
padding: 0; padding: 0;
background-color: var(--content-color-20); background-color: var(--content-color-20);
a {
word-break: break-all;
&.link-extern,
&.link-intern {
display: inline-block;
max-width: 50vw;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: top;
}
}
} }
.real_posting { .real_posting {
...@@ -185,6 +173,7 @@ $shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); ...@@ -185,6 +173,7 @@ $shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
padding: 0pt 5px; padding: 0pt 5px;
margin: 5px 0 0 0; margin: 5px 0 0 0;
flex: 1; flex: 1;
min-width: 0;
text-align: left; text-align: left;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment