File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
packages/starlight-theme-mtasa Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { Props } from '@astrojs/starlight/props';
3
3
import Default from ' @astrojs/starlight/components/Header.astro' ;
4
4
---
5
5
6
- <nav >
6
+ <nav class = " print:hidden " >
7
7
<a href =" https://multitheftauto.com" rel =" noopener" >Home</a >
8
8
<a class =" keepMobile" href =" https://discord.com/invite/mtasa" rel =" noopener" target =" _blank" >Discord</a >
9
9
<a href =" https://community.multitheftauto.com" rel =" noopener" >Community</a >
Original file line number Diff line number Diff line change 16
16
}
17
17
}
18
18
19
+ /* Restore the original height for printing. */
20
+ @media print {
21
+ : root {
22
+ --sl-nav-height : var (--sl-nav-height-original );
23
+ }
24
+ }
25
+
19
26
/* Add the MTA color strip to the header,
20
27
remove the padding so we can utilize the full width of the page,
21
28
and include the height of the MTA navigation in the calculation of the header. */
You can’t perform that action at this time.
0 commit comments