Skip to content

Commit

Permalink
fix(core/menu): fix firefox overflow behavior and input styling (#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiashader authored Jun 20, 2024
1 parent bee3696 commit 9e75d7b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/twenty-hornets-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@siemens/ix': patch
---

fix(core/menu): fix firefox overflow behavior and input styling
1 change: 1 addition & 0 deletions packages/core/scss/components/form/_input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
padding: 0.25rem 0.5rem;
background-color: var(--theme-input--background);
color: var(--theme-input--color);
-moz-appearance: textfield;
text-overflow: ellipsis;
border: var(--theme-input--border-thickness, 1px) solid
var(--theme-input--border-color);
Expand Down
4 changes: 0 additions & 4 deletions packages/core/src/components/menu-item/menu-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ $menuItemPadding: 0.875rem;
outline-offset: -1px;
}

.tab:not(:last-child) {
margin-bottom: $small-space;
}

.notification {
display: inline-flex;
position: absolute;
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/components/menu/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export class Menu {
* Menu stays pinned to the left
*/
@Prop() pinned = false;

@Watch('pinned')
pinnedChange(newPinned: boolean) {
if (this.applicationLayoutContext?.host === 'map-navigation') {
Expand Down

0 comments on commit 9e75d7b

Please sign in to comment.