Skip to content

Commit 313d4cb

Browse files
authored
Fix styles for picker and sidebar menu (#10)
1 parent 9988439 commit 313d4cb

6 files changed

Lines changed: 9 additions & 6 deletions

File tree

projects/ngx-appshell-example/src/app/appshell.configuration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class AppShellConfiguration {
3232
]
3333
},
3434
{
35-
label: 'SECTION 2',
35+
label: 'SECTION 2 THAT REQUIRES MORE THAN TWO LINES',
3636
links: [
3737
{label: 'Page 1', anchor: '/subsection', icon: 'house'},
3838
{label: 'Page 2', anchor: '/subsection2', icon: 'house'},

projects/ngx-appshell-example/src/app/screens/platform-shell/platform-shell.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class PlatformShellComponent implements OnInit, OnDestroy {
4343
) {
4444
this.headerSecondaryPicker = {
4545
label: 'Catalog: ',
46-
options: ['Option 1', 'Option 2', 'Option 3'],
46+
options: ['Option 1', 'Option 2', 'A really long option that requires to be included in more than two lines', 'Option 3'],
4747
selected: 'Option 2'
4848
};
4949
this.headerProjectPicker = {

projects/ngx-appshell/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A comprehensive Angular library providing pre-built UI components, directives, and schematics for building modern enterprise applications with Material Design.
44

5-
**Version:** 19.0.12
5+
**Version:** 19.0.13
66
**Angular:** >=19.0.0
77

88
## Features

projects/ngx-appshell/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opendevstack/ngx-appshell",
3-
"version": "19.0.12",
3+
"version": "19.0.13",
44
"description": "A comprehensive Angular library providing pre-built UI components, directives, and schematics for building modern enterprise applications with Material Design.",
55
"author": "OpenDevStack",
66
"repository": {

projects/ngx-appshell/src/lib/components/appshell-header-picker/appshell-header-picker.component.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
border-radius: 0.125rem!important;
4545
border: 1px solid var(--appshell-color-grey-main);
4646
box-shadow: none!important;
47-
width: 13rem;
47+
width: 16rem;
4848
padding: 0.75rem 0;
4949
margin-top: 0.4rem;
5050
--mat-menu-item-label-text-color: var(--appshell-color-dark-green-main);
@@ -126,6 +126,9 @@
126126
}
127127

128128
button {
129+
padding-top: 0.875rem;
130+
padding-bottom: 0.875rem;
131+
129132
&.active {
130133
background-color: var(--appshell-color-grey-neutral);
131134
border-left: 2px solid var(--appshell-color-accent-green-main);

projects/ngx-appshell/src/lib/components/appshell-sidebar-menu/appshell-sidebar-menu.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
&.link-group-header {
6464
font-size: 1rem;
6565
line-height: 1.25rem;
66-
height: 2.25rem;
66+
min-height: 2.25rem;
6767
padding: 0.5rem;
6868
font-family: AppShellHeadingFont;
6969
font-style: normal;

0 commit comments

Comments
 (0)