Skip to content
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

Improve tab header styles, center headings, flexbox #568

Merged
merged 2 commits into from
Jan 10, 2018

Conversation

jancborchardt
Copy link
Member

Before / after:
screenshot from 2018-01-10 11-44-56 screenshot from 2018-01-10 11-43-43

More breathing space, 50% default width for the tabs, proper underline for inactive tab.

Please review @nextcloud/talk

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
@Ivansss
Copy link
Member

Ivansss commented Jan 10, 2018

There are some troubles with chat tab:

screen shot 2018-01-10 at 11 52 30

@nickvergessen
Copy link
Member

For me when the chat is active, the lines are *** up:

bildschirmfoto von 2018-01-10 11-52-52

@jancborchardt
Copy link
Member Author

jancborchardt commented Jan 10, 2018

Seems like a caching issue for both of you? Looks fine here in any case.

@nickvergessen
Copy link
Member

Only happens in Chrome

opacity: 1;
}

#tabHeaderChat {
#tabHeaderChat a {
background-image: url('../../../core/img/actions/comment.svg?v=1');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw this breaks when apps are not installed in an app folder in root,
Should fix for 3.1

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I only used it because it was already used in the code – by you ;)
https://github.com/nextcloud/spreed/blame/93e0a82f2e91537941c56b1cb31f29e9e4a9338e/css/style.scss#L906

But yes – the reason why I needed to use it like that is because I needed to insert a class (.icon-comment in this case) into the tabHeader, or rather the link inside of it. If we can do that in the code rather, we don’t need that CSS.

@danxuliu
Copy link
Member

Only happens in Chrome

Right, here Firefox is fine and Chromium broken.

Besides that the icon and name are not (perfectly) centered on the tab header. Is that intended?

@jancborchardt
Copy link
Member Author

@danxuliu @nickvergessen hmm, in Chromium I get a »Error while accessing microphone & camera«. Is that because of non-https on localhost? If so, I need instructions to set that up as the former attempts have not succeeded. :\ And they should be in the README as Developer setup.

@danxuliu
Copy link
Member

Is that because of non-https on localhost?

I doubt it; I am using it with HTTP on localhost without problems.

@Ivansss
Copy link
Member

Ivansss commented Jan 10, 2018

@jancborchardt Yes, in Chromium https is needed to access camera and mic.

@Ivansss
Copy link
Member

Ivansss commented Jan 10, 2018

I doubt it; I am using it with HTTP on localhost without problems.

Interesting, maybe it's just for camera permissions? I remember you don't have any camera, right?

@jancborchardt
Copy link
Member Author

@Ivansss I do have cam & mic. What can I do then to make it work in Chrome? @danxuliu how do you make it work with http in Chrome? :D

@danxuliu
Copy link
Member

Interesting, maybe it's just for camera permissions? I remember you don't have any camera, right?

Right.

how do you make it work with http in Chrome? :D

By not having a camera, it seems :-P

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
@jancborchardt
Copy link
Member Author

Haha, ok I have a camera killswitch on my Purism laptop :D Comes in very handy cause it works now!

And fixed the issue with Chrome/Chromium too. :)

Copy link
Member

@Ivansss Ivansss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works fine now in Chromium 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants