Make commit header and diff wrapping more similar to GH

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2023-03-14 11:05:22 +01:00
parent e8325294fa
commit dace61caae
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -36,6 +36,7 @@
}
.description {
margin: 0.5rem 0 1rem 0;
white-space: pre-wrap;
}
.sha1 {
color: var(--color-foreground-5);
@@ -21,7 +21,6 @@
.changeset-file {
border: 1px solid var(--color-foreground-4);
border-radius: var(--border-radius-small);
min-width: var(--content-min-width);
margin-bottom: 2rem;
line-height: 1.5rem;
}
@@ -65,6 +64,9 @@
border-collapse: collapse;
margin: 0.5rem 0;
}
tr.diff-line {
vertical-align: top;
}
tr.diff-line[data-type="+"] > * {
color: var(--color-positive);
}
@@ -94,7 +96,8 @@
padding: 0 0.75rem 0 0.5rem;
}
td.diff-line-content {
white-space: pre;
white-space: pre-wrap;
overflow-wrap: anywhere;
width: 100%;
padding-right: 0.5rem;
}