Skip to content

Commit

Permalink
Hide overflow on focus (#792)
Browse files Browse the repository at this point in the history
* Bump to 0.22.0

* Update .gif

* Fix overflow when clicking on the latest file in history
  • Loading branch information
fcollonval authored Oct 4, 2020
1 parent d1f9f4b commit 7b7f0e5
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

A JupyterLab extension for version control using Git

![ui_glow_up](./docs/figs/demo-0-10-0.gif)
![ui_glow_up](./docs/figs/preview.gif)

To see the extension in action, open the example notebook included in the Binder [demo](https://mybinder.org/v2/gh/jupyterlab/jupyterlab-git/master?urlpath=lab/tree/examples/demo.ipynb).

Expand Down
Binary file removed docs/figs/demo-0-10-0.gif
Binary file not shown.
Binary file removed docs/figs/nbdiff.gif
Binary file not shown.
Binary file added docs/figs/preview.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion jupyterlab_git/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# Distributed under the terms of the Modified BSD License.

version_info = (0, 22, 0)
flag = "a0"
flag = ""

__version__ = ".".join(map(str, version_info)) + flag
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jupyterlab/git",
"version": "0.22.0-alpha.0",
"version": "0.22.0",
"description": "A JupyterLab extension for version control using git",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/components/SinglePastCommitInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { fileIcon } from '@jupyterlab/ui-components';
import { CommandRegistry } from '@lumino/commands';
import * as React from 'react';
import { FixedSizeList, ListChildComponentProps } from 'react-window';
import { classes } from 'typestyle/';
import { classes } from 'typestyle';
import { CommandIDs } from '../commandsAndMenu';
import { LoggerContext } from '../logger';
import { GitExtension } from '../model';
Expand Down
2 changes: 2 additions & 0 deletions src/style/SinglePastCommitInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ export const commitDetailFileClass = style({
lineHeight: 'var(--jp-private-running-item-height)',
whiteSpace: 'nowrap',

overflow: 'hidden',

$nest: {
'&:hover': {
backgroundColor: 'var(--jp-layout-color2)'
Expand Down

0 comments on commit 7b7f0e5

Please sign in to comment.