Skip to content

Commit

Permalink
Merge pull request #891 from mobi/GOP-767-CHORE-action_sheet_design_c…
Browse files Browse the repository at this point in the history
…hanges

Changes [CHORE] 767 action sheet design changes #767
  • Loading branch information
RonMichaud authored Mar 30, 2023
2 parents c8f8712 + 4af91fe commit 6cfe8df
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ $as-before-box-diag-width: 21.21px;
position: relative;

&__scroll-container {
max-height: 375px;
overflow: auto;
overflow: hidden;
}

&__content {
border-radius: $global-radius;
overflow: hidden;
max-height: 375px;
overflow: auto;
}

&__content-container {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,8 @@ $theme-light-transparentized: rgba($theme-light-color, .5);
color: $ui-color-negative;
}

.go-panel {
&__title {
& &-text {
color: $ui-color-negative;
}
}
.go-panel__title-text {
color: $ui-color-negative;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<p class="go-side-nav__app-drawer--launch">{{ appDrawerHeader }}</p>
</go-panel>
<go-panel
class="go-side-nav__app-drawer--items"
*ngFor="let appDrawerItem of (navAppDrawer?.appDrawerConfig || [])"
[icon]="appDrawerItem.icon"
[panelContent]="appDrawerItem.displayName"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,11 @@
background: $theme-light-bg;
}
}

&--items {
span.go-panel__title-text {
font-family: $secondary-font-stack !important;
}
}
}
}
2 changes: 2 additions & 0 deletions projects/go-style-guide/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
</ng-container>
<ng-container go-action-sheet-content>
<go-panel
class="go-action-sheet-items"
panelContent="GitHub"
externalLink="https://github.com/mobi/goponents">
</go-panel>
<go-panel
class="go-action-sheet-items"
panelContent="NPM"
externalLink="https://www.npmjs.com/package/@tangoe/goponents">
</go-panel>
Expand Down
6 changes: 6 additions & 0 deletions projects/go-style-guide/src/app/app.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,9 @@ code {
border-radius: $global-radius;
padding: $column-gutter;
}

.go-action-sheet-items {
span.go-panel__title-text {
font-family: $secondary-font-stack !important;
}
}

0 comments on commit 6cfe8df

Please sign in to comment.