Skip to content

Commit 2344bcb

Browse files
committed
add comments
1 parent 6915fcd commit 2344bcb

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

web-components/card-tile/card-tile.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,15 @@ a {
3939
flex-flow: column nowrap;
4040
}
4141

42+
/* Styling for support card */
4243
.support-card {
4344
margin: 0.2em;
4445
}
4546

47+
.support-card .inline-g {
48+
display: none;
49+
}
50+
4651
.support-card:hover {
4752
background-color: #e3e3e3;
4853
transition: 0.2s ease-in-out;
@@ -76,6 +81,7 @@ a {
7681
height: 18.75em;
7782
}
7883

84+
/* Set consistent height for support card */
7985
.support-card {
8086
height: 12em;
8187
}

web-components/card-tile/card-tile.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@ function createComponent(html) {
9696
break;
9797
case 'support':
9898
cardSelector.classList.add('support-card');
99-
// Hide level and time
100-
const hideSelector = shadow.querySelector('.inline-g');
101-
hideSelector.style.display = 'none';
10299
break;
103100
}
104101

0 commit comments

Comments
 (0)