Skip to content

Commit d60e762

Browse files
committed
fix: add reset for styling for pre tag
1 parent 4d4fee3 commit d60e762

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

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": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "1.0.9",
3+
"version": "1.0.9-beta-2",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Shared/Components/DiffViewer/constants.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ export const diffViewerStyles: ReactDiffViewerProps['styles'] = {
4141
lineHeight: '20px',
4242
fontFamily: 'Inconsolata, monospace',
4343
wordBreak: 'break-word',
44+
// Reset for styling from patternfly
45+
padding: 0,
46+
margin: 0,
47+
backgroundColor: 'transparent',
48+
border: 'none',
49+
borderRadius: 0,
4450
},
4551
},
4652
marker: {

0 commit comments

Comments
 (0)