Commit d3ff7ca0 authored by Annabel Dunstone's avatar Annabel Dunstone

Input updates

parent 447f3613
...@@ -142,6 +142,7 @@ ...@@ -142,6 +142,7 @@
overflow: hidden; overflow: hidden;
font-size: 90%; font-size: 90%;
margin: 0 3px; margin: 0 3px;
word-break: break-all;
} }
.mr-list { .mr-list {
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
.new-note { .new-note {
margin: 0; margin: 0;
border: none; border: none;
border-right: 1px solid $table-border-gray;
} }
} }
...@@ -71,12 +72,25 @@ ...@@ -71,12 +72,25 @@
border-color: $focus-border-color; border-color: $focus-border-color;
} }
} }
p {
code {
white-space: normal;
}
pre {
code {
white-space: pre;
}
}
}
} }
} }
.discussion-form { .discussion-form {
padding: $gl-padding-top $gl-padding; padding: $gl-padding-top $gl-padding;
background-color: #fff; background-color: $white-light;
border-right: 1px solid $table-border-gray;
} }
.note-edit-form { .note-edit-form {
...@@ -118,7 +132,13 @@ ...@@ -118,7 +132,13 @@
.discussion-reply-holder { .discussion-reply-holder {
background-color: $white-light; background-color: $white-light;
border-right: 1px solid $table-border-gray;
padding: 10px 16px; padding: 10px 16px;
max-width: 800px;
.new-note {
border-right: none;
}
} }
} }
......
...@@ -81,11 +81,17 @@ ul.notes { ...@@ -81,11 +81,17 @@ ul.notes {
@include md-typography; @include md-typography;
// On diffs code should wrap nicely and not overflow // On diffs code should wrap nicely and not overflow
p {
code {
white-space: normal;
}
pre { pre {
code { code {
white-space: pre; white-space: pre;
} }
} }
}
// Reset ul style types since we're nested inside a ul already // Reset ul style types since we're nested inside a ul already
& > ul { & > ul {
...@@ -112,6 +118,10 @@ ul.notes { ...@@ -112,6 +118,10 @@ ul.notes {
margin: 10px 0; margin: 10px 0;
} }
} }
a {
word-break: break-all;
}
} }
.note-header { .note-header {
...@@ -127,7 +137,7 @@ ul.notes { ...@@ -127,7 +137,7 @@ ul.notes {
margin-right: 10px; margin-right: 10px;
} }
.line_content { .line_content {
white-space: pre-wrap; white-space: pre;
} }
} }
...@@ -145,20 +155,33 @@ ul.notes { ...@@ -145,20 +155,33 @@ ul.notes {
background: $background-color; background: $background-color;
color: $text-color; color: $text-color;
} }
&.notes_line2 { &.notes_line2 {
text-align: center; text-align: center;
padding: 10px 0; padding: 10px 0;
border-left: 1px solid #ddd !important; border-left: 1px solid #ddd !important;
} }
&.notes_content { &.notes_content {
background-color: #fff; background-color: $background-color;
border-width: 1px 0; border-width: 1px 0;
padding: 0; padding: 0;
vertical-align: top; vertical-align: top;
white-space: normal; white-space: normal;
&.parallel { &.parallel {
border-width: 1px; border-width: 1px;
} }
.new-note {
max-width: 800px;
}
.notes {
max-width: 800px;
background-color: $white-light;
border-right: 1px solid $table-border-gray;
}
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment