Create sticky run code button for notebook code cell (#11903)

* update css for run code button

* rm extra position change
This commit is contained in:
Laura Jiang
2020-08-24 16:05:31 -07:00
committed by GitHub
parent 384553c231
commit 18a6879d64
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
*--------------------------------------------------------------------------------------------*/
-->
<div style="width: 100%; height: 100%; display: flex; flex-flow: row" (mouseover)="hover=true" (mouseleave)="hover=false">
<div style="flex: 1 1 auto; flex-flow: column; overflow: hidden;">
<div style="flex: 1 1 auto; flex-flow: column;">
<div style="display: flex; flex-flow: row">
<div #toolbar class="toolbar"></div>
<div style="flex: 1 1 auto; overflow: hidden;">

View File

@@ -31,7 +31,7 @@ code-component .toolbar.markdown {
code-component .toolbar .carbon-taskbar {
position: sticky;
top: 0px;
top: -16px;
margin-top: 5px;
}