File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ Below is an example of the directive in use. The button has been styled with cus
7
7
css as explained in the configuration section below. Without custom css, the button will
8
8
be plain and unadorned.
9
9
10
+ Note that as starting JupyterLite can download a significant amount of data, and
11
+ that the Jupyter interface is not optimized for mobile, the buttons will be
12
+ hidden on mobile by default (screen width 480px or smaller). This can be
13
+ changed by overwriting with custom CSS.
14
+
10
15
11
16
``` rst
12
17
Examples
Original file line number Diff line number Diff line change 64
64
@keyframes l13{
65
65
100% {transform : rotate (1turn )}
66
66
}
67
+
68
+
69
+
70
+ /* we do not want the button to show on smaller screens (phones), as clicking
71
+ * can download a lot of data. 480px is a commonly used breakpoint to identify if a device is a smartphone. */
72
+
73
+ @media (max-width : 480px ), (max-height : 480px ) {
74
+ div .try_examples_button_container {
75
+ display : none;
76
+ }
77
+ }
You can’t perform that action at this time.
0 commit comments