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

feat(theme): add style incapsulation for tabset components #911

Merged
merged 2 commits into from
Oct 23, 2018
Merged

feat(theme): add style incapsulation for tabset components #911

merged 2 commits into from
Oct 23, 2018

Conversation

lexzhukov
Copy link
Contributor

Please read and mark the following check list before creating a pull request:

Short description of what this resolves:

Fix #561

@@ -63,14 +63,15 @@ import { convertToBoolProperty } from '../helpers';
selector: 'nb-route-tabset',
styleUrls: ['./route-tabset.component.scss'],
template: `
<ul>
<ul class="route-tabs">
Copy link
Member

Choose a reason for hiding this comment

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

Let's call this class route-tabset regarding the component name.

@@ -196,11 +196,12 @@ export class NbTabComponent {
selector: 'nb-tabset',
styleUrls: ['./tabset.component.scss'],
template: `
<ul>
<ul class="tabs">
Copy link
Member

Choose a reason for hiding this comment

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

Let's call this class tabset regarding the component name.

<a href>
[class.responsive]="tab.responsive"
class="route-tab">
<a href (click)="$event.preventDefault()">
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need preventDefault here?
It it's required, let's move it in the separate PR

@nnixaa nnixaa merged commit 33162af into akveo:master Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Style conflicts with DevExtreme
3 participants