Skip to content

Commit bcf514d

Browse files
committed
RHOAIENG-20553: fix(jupyter/utils/addon) fix vertical centering of the PatternFly spinner
After we switched to the css without global css reset, we no longer have the rule ``` :where(html, body) { height: 100%; } ``` present, and it causes the spinner to be tucked to the top edge of screen. I've checked that setting this does not visibly change how JupyterLab (with TensorBoard open) displays.
1 parent d6b75c1 commit bcf514d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jupyter/utils/addons/partial-head.html

+4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
type="text/css"
44
href="{{page_config.fullStaticUrl}}/pf.css"
55
/>
6+
<!-- set height to 100% so that vertical centering works -->
67
<style>
8+
:where(html, body) {
9+
height: 100%;
10+
}
711
#loading-container {
812
width: 100%;
913
height: 100%;

0 commit comments

Comments
 (0)