Skip to content

Commit

Permalink
fix: replace built-in padding with built-in gap in between iterator i…
Browse files Browse the repository at this point in the history
…tems (#174)
  • Loading branch information
dlockhart authored Jul 25, 2022
1 parent b8f2328 commit 8740b84
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ class NavigationIterator extends LocalizeNavigationElement(LitElement) {
:host {
align-items: center;
display: flex;
gap: 1.2rem;
height: 3.3rem;
justify-content: space-between;
max-width: 20rem;
padding: 0 1.2rem;
}
:host([hidden]) {
display: none;
Expand Down
10 changes: 5 additions & 5 deletions test/iterator.visual-diff.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@
</head>
<body class="d2l-typography">
<div class="visual-diff">
<div class="wrapper" id="iterator-default" style="min-width: 300px;">
<div class="wrapper" id="iterator-default">
<d2l-navigation-iterator></d2l-navigation-iterator>
</div>
</div>
<div class="visual-diff">
<div class="wrapper" id="iterator-hide-text" style="min-width: 300px;">
<div class="wrapper" id="iterator-hide-text">
<d2l-navigation-iterator hide-text></d2l-navigation-iterator>
</div>
</div>
<div class="visual-diff">
<div class="wrapper" id="iterator-disabled" style="min-width: 300px;">
<div class="wrapper" id="iterator-disabled">
<d2l-navigation-iterator previous-disabled next-disabled></d2l-navigation-iterator>
</div>
</div>
<div class="visual-diff">
<div class="wrapper" id="iterator-custom-text" style="min-width: 300px;">
<div class="wrapper" id="iterator-custom-text">
<d2l-navigation-iterator previous-text="Back" next-text="Forward"></d2l-navigation-iterator>
</div>
</div>
<div class="visual-diff">
<div class="wrapper" id="iterator-slot" style="min-width: 300px;">
<div class="wrapper" id="iterator-slot">
<d2l-navigation-iterator>Hello</d2l-navigation-iterator>
</div>
</div>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8740b84

Please sign in to comment.