Skip to content

Commit 8841d53

Browse files
committed
Changes in scss as per review
1 parent 5b70df6 commit 8841d53

File tree

5 files changed

+27
-27
lines changed

5 files changed

+27
-27
lines changed

projects/arc/src/app/main/constants/nebularComponents.constants.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ export const NEBULAR_COMP_ITEMS = [
2323
},
2424
{
2525
title: 'Radio Button',
26-
// url:'https://akveo.github.io/nebular/docs/components/radio/examples#nbradiocomponent',
27-
link: '/main/components/nebular-comp',
26+
url:'https://akveo.github.io/nebular/docs/components/radio/examples#nbradiocomponent',
27+
// if we want to see components in Card layout we can use this link
28+
// link: '/main/components/nebular-comp',
2829
home: true,
2930
pathMatch: 'prefix',
3031
image : '../../../assets/images/components/Checkbox.svg'

projects/arc/src/app/main/home/home.component.scss

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
@use 'sass:map';
2+
@use '../../../../../arc-lib/src/lib/theme/styles/variables' as *;
3+
@use '../../../styles.scss' as *;
4+
@use '../../../themes.scss' as *;
5+
16
.big-icon {
27
width: 9.5rem;
38
}
@@ -7,15 +12,7 @@
712
height: auto;
813
}
914

10-
.parent-class {
11-
// border-bottom: 1px solid #d9d9d9;
12-
.inner-div {
13-
height: fit-content;
14-
}
15-
.layout {
16-
background: #fff;
17-
}
18-
}
15+
1916
.container {
2017
background: #fff;
2118
padding: 20px;
@@ -114,4 +111,5 @@
114111
.p{
115112
margin:0
116113
}
117-
}
114+
}
115+

projects/arc/src/app/main/introduction/introduction.component.scss

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
.parent-class {
2-
// border-bottom: 1px solid #d9d9d9;
3-
.inner-div {
4-
height: fit-content;
5-
}
6-
.layout {
7-
background: #fff;
8-
}
9-
}
1+
@use 'sass:map';
2+
@use '../../../../../arc-lib/src/lib/theme/styles/variables' as *;
3+
@use '../../../styles.scss' as *;
4+
@use '../../../themes.scss' as *;
5+
106
.comp-wrapper {
117
background: #fff;
128
padding: 20px;
@@ -49,7 +45,6 @@
4945

5046
:host {
5147
display: block;
52-
// max-height: 25rem;
5348
overflow-x: hidden;
5449
overflow-y: auto;
5550
}

projects/arc/src/app/main/introduction/introduction.component.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export class IntroductionComponent {
1414
}
1515

1616
ngOnInit(){
17-
console.log(this.router.url)
1817
this.router.events.subscribe((param)=>{
1918
this.loadConfig();
2019
})
@@ -31,10 +30,7 @@ export class IntroductionComponent {
3130
}
3231

3332
redirectComponent(c)
34-
{
35-
// console.log(c);
36-
// window.open(c.url, "_blank");
37-
// }
33+
{
3834
if (c.url) {
3935
// Open external URL in a new tab
4036
window.open(c.url, '_blank');

projects/arc/src/styles.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,3 +278,13 @@ nb-toast.status-success .icon-container {
278278
}
279279
}
280280
}
281+
282+
.parent-class {
283+
// border-bottom: 1px solid #d9d9d9;
284+
.inner-div {
285+
height: fit-content;
286+
}
287+
.layout {
288+
background: #fff;
289+
}
290+
}

0 commit comments

Comments
 (0)