From 453bd03ae08ace1dbfad9974f54a3a5daefcc33c Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Mon, 31 Aug 2015 19:15:05 +0200 Subject: [PATCH] Fix flexbox on celltoolbar and safari. cf https://github.com/jupyter/nbgrader/issues/394 Cannot fix in flexbox.less cf above issue. --- notebook/static/notebook/less/celltoolbar.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/notebook/static/notebook/less/celltoolbar.less b/notebook/static/notebook/less/celltoolbar.less index 667bf67d1..2f77f428d 100644 --- a/notebook/static/notebook/less/celltoolbar.less +++ b/notebook/static/notebook/less/celltoolbar.less @@ -12,6 +12,10 @@ padding-right: 4px; .hbox(); .end(); + // safari fix, we cannot use -webkit-flex on hbox + // and vbox either or all css get borked + // cf https://github.com/jupyter/nbgrader/issues/394 + display: -webkit-flex; @media print{ display: none; }