Skip to content

Commit

Permalink
Merge pull request #13 from BrightspaceUI/cbusman/d2l-navigation-butt…
Browse files Browse the repository at this point in the history
…on_height_style

Adding height CSS by default to buttons and links.
  • Loading branch information
rowansilver authored Oct 15, 2018
2 parents 2675c38 + 34821d3 commit 2bdbf66
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions d2l-navigation-button-close.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<style>
:host {
display: inline-block;
height: 100%;
}
d2l-navigation-button-notification-icon {
height: 100%;
Expand Down
1 change: 1 addition & 0 deletions d2l-navigation-button-notification-icon.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<style>
:host {
display: inline-block;
height: 100%;
}
:host([notification]) .d2l-navigation-button-notification-indicator {
display: inline-block;
Expand Down
1 change: 1 addition & 0 deletions d2l-navigation-link-back.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<style>
:host {
display: inline-block;
height: 100%;
}
d2l-icon {
color: inherit;
Expand Down
1 change: 1 addition & 0 deletions d2l-navigation-link-image.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<style>
:host {
display: inline-block;
height: 100%;
}
img {
vertical-align: middle;
Expand Down
8 changes: 6 additions & 2 deletions demo/d2l-navigation-button.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,13 @@ <h3>d2l-navigation-button</h3>
<demo-snippet>
<template>
<style>
.button-holder {
height: 90px;
}
d2l-navigation-button-notification-icon,
d2l-navigation-button-image,
d2l-navigation-button-close {
margin: 0px 5px;
height: 90px;
}
</style>
<d2l-navigation-band></d2l-navigation-band>
Expand All @@ -119,10 +121,12 @@ <h3>d2l-navigation-link</h3>
<demo-snippet>
<template>
<style>
.button-holder {
height: 90px;
}
d2l-navigation-link-back,
d2l-navigation-link-image {
margin: 0px 5px;
height: 90px;
}
</style>
<d2l-navigation-band></d2l-navigation-band>
Expand Down

0 comments on commit 2bdbf66

Please sign in to comment.