File tree Expand file tree Collapse file tree 1 file changed +27
-5
lines changed Expand file tree Collapse file tree 1 file changed +27
-5
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,30 @@ nav_exclude: True
5
5
6
6
---
7
7
8
- <object data =" /assets/Tejaswi_Kasarla_CV.pdf " type =" application/pdf " width =" 900px " height =" 700px " frameborder =" 0 " allowfullscreen >
9
- <embed src="/assets/Tejaswi_Kasarla_CV.pdf">
10
- <p>This browser does not support PDFs. Please download the PDF to view it: <a href="/assets/Tejaswi_Kasarla_CV.pdf">Download PDF</a>.</p>
11
- </embed>
12
- </object >
8
+ <style >
9
+ /* Hide PDF on small screens (below 768px width) */
10
+ .pdf-viewer {
11
+ display : none ;
12
+ }
13
+
14
+ @media (min-width : 768px ) {
15
+ .pdf-viewer {
16
+ display : block ;
17
+ width : 100% ;
18
+ height : 700px ;
19
+ border : none ;
20
+ }
21
+ }
22
+ </style >
23
+
24
+ <iframe class =" pdf-viewer " src =" /assets/Tejaswi_Kasarla_CV.pdf " >
25
+ This browser does not support PDFs. Please download the PDF:
26
+ <a href="/assets/Tejaswi_Kasarla_CV.pdf">Download PDF</a>.
27
+ </iframe >
28
+
29
+ <!-- Fallback link always visible
30
+ <p>
31
+ <a href="/assets/Tejaswi_Kasarla_CV.pdf" target="_blank" rel="noopener noreferrer">
32
+ Download Tejaswi Kasarla's CV (PDF)
33
+ </a>
34
+ </p> -->
You can’t perform that action at this time.
0 commit comments