-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS rules change default Phosphor overflow #3986
Comments
Would this possibly be a remnant in how we were previously adding drop
shadows to the tabs? I don't remember why/where we added this (and
apologize if I am the one who added it!).
…On Fri, Feb 23, 2018 at 10:50 AM, S. Chris Colbert ***@***.*** > wrote:
This rule changes Phosphor's default overflow visibility for the tab bars:
[image: capture]
<https://user-images.githubusercontent.com/137289/36611046-cf788228-1897-11e8-8211-a1bfb7c59f2b.PNG>
Which results in this undesired overflow artifact:
[image: capture]
<https://user-images.githubusercontent.com/137289/36611092-f3870b44-1897-11e8-8c06-51370e70643d.PNG>
Restoring the default overflow rule fixes the problem:
[image: capture]
<https://user-images.githubusercontent.com/137289/36611134-1ae177a6-1898-11e8-9951-33bdfb4b7cf4.PNG>
I have no insight as to why the default was changed.
CC @jasongrout <https://github.com/jasongrout> @ellisonbg
<https://github.com/ellisonbg>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3986>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABr0IVrGyGg66zpvePQxouTp5E6MkD9ks5tXwiHgaJpZM4SRULJ>
.
--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger@calpoly.edu and ellisonbg@gmail.com
|
Looking at it more, it seems like the default was changed in order to "blend" the active tab with the tool bar. This is not the intended way to achieve that effect. The intended way is to make the active tab 1px taller, and translate it down 1px so that it overlaps the lower border. That's how it's done here: http://phosphorjs.github.io/examples/datagrid/ |
Hmm, I thought we were doing it that way... |
…e active tab Fixes jupyterlab#6532 Reverts jupyterlab#6526 Reverts jupyterlab#6492 jupyterlab#3986 is now an issue again, but setting the tab min width to 0px (instead of 36px) and setting the tab overflow to hidden makes it less likely to appear in practice (i.e., the tabs need to be much denser now to overflow into the splitter). Setting the tab overflow to hidden also makes the close icon for tabs not overlap the next tab, which was very confusing. I think this is the best compromise at this point. I also experimented unsuccessfully with setting the z-index of the splitter handle in an attempt to get it to be on top of overflowing tabs.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related discussion. |
This rule changes Phosphor's default overflow visibility for the tab bars:
Which results in this undesired overflow artifact:
Restoring the default overflow rule fixes the problem:
I have no insight as to why the default was changed.
CC @jasongrout @ellisonbg
The text was updated successfully, but these errors were encountered: