Skip to content

Commit 2898577

Browse files
authored
Merge pull request #82 from rars/fix-background-line-widths
fix(ngx-diff): make background color fill full width in horizontal overflow
2 parents 2a8e5c0 + 4d061c9 commit 2898577

File tree

6 files changed

+13
-6
lines changed

6 files changed

+13
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [8.0.4](https://github.com/rars/ngx-diff/compare/v8.0.3...v8.0.4) (2024-03-27)
6+
7+
8+
### Bug Fixes
9+
10+
* **ngx-diff:** make background color fill full width in horizontal overflow ([02cdc16](https://github.com/rars/ngx-diff/commit/02cdc16a7c47dce4c88dc5ad872db25ae8a3fd1b))
11+
512
### [8.0.3](https://github.com/rars/ngx-diff/compare/v8.0.2...v8.0.3) (2024-03-27)
613

714

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-diff",
3-
"version": "8.0.3",
3+
"version": "8.0.4",
44
"type": "module",
55
"scripts": {
66
"ng": "ng",

projects/ngx-diff/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-diff",
3-
"version": "8.0.3",
3+
"version": "8.0.4",
44
"peerDependencies": {
55
"@angular/common": ">=17.0.0",
66
"@angular/core": ">=17.0.0",

projects/ngx-diff/src/lib/components/side-by-side-diff/side-by-side-diff.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ div.sbs-diff-content-wrapper {
5454
display: flex;
5555
flex-direction: column;
5656
align-items: stretch;
57-
width: 100%;
57+
min-width: 100%;
5858
}
5959

6060
div.sbs-diff-old {

projects/ngx-diff/src/lib/components/unified-diff/unified-diff.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ div.ufd-diff-content-wrapper {
5151
display: flex;
5252
flex-direction: column;
5353
align-items: stretch;
54-
width: 100%;
54+
min-width: 100%;
5555
}
5656

5757
div.ufd-diff-old {

0 commit comments

Comments
 (0)