Skip to content

Commit 9962bfd

Browse files
Blog-977327 - Combined the css files
1 parent 7eae077 commit 9962bfd

File tree

5 files changed

+12
-13
lines changed

5 files changed

+12
-13
lines changed

Annotations/Role based annotation/RoleBasedAnnotation/src/Authentication.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useState } from "react";
2-
import "./index.css"; // Make sure this CSS file exists and is correctly styled
2+
import "./PdfViewer.css"; // Make sure this CSS file exists and is correctly styled
33

44
const hostURL = "https://localhost:44310/api/Authentication";
55

Annotations/Role based annotation/RoleBasedAnnotation/src/PdfViewer.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
@import '../node_modules/@syncfusion/ej2-base/styles/material.css';
2+
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';
3+
@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
4+
@import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';
5+
@import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
6+
@import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
7+
@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
8+
@import "../node_modules/@syncfusion/ej2-pdfviewer/styles/material.css";
9+
110
/* Base */
211
body {
312
margin: 0;

Annotations/Role based annotation/RoleBasedAnnotation/src/PdfViewer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ const PdfViewer = () => {
364364
ref={pdfViewerRef}
365365
id="container"
366366
documentPath={window.location.origin + "/Annotations.pdf"}
367-
resourceUrl="https://cdn.syncfusion.com/ej2/30.2.7/dist/ej2-pdfviewer-lib"
367+
resourceUrl="https://cdn.syncfusion.com/ej2/31.2.7/dist/ej2-pdfviewer-lib"
368368
style={{ height: '640px' }}
369369
documentLoad={handleDocumentLoad}
370370
annotationAdd={onAnnotationAdd}

Annotations/Role based annotation/RoleBasedAnnotation/src/index.css

Lines changed: 0 additions & 10 deletions
This file was deleted.

Annotations/Role based annotation/RoleBasedAnnotation/src/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom/client';
3-
import './index.css';
3+
import './PdfViewer.css';
44
import { registerLicense } from '@syncfusion/ej2-base';
55
import PdfViewer from './PdfViewer';
66

0 commit comments

Comments
 (0)