Skip to content

Commit a2b058d

Browse files
committed
more styling [netlify-build]
1 parent 208dd44 commit a2b058d

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
.button-link {
22
padding: 0;
33
font-size: 14px;
4+
5+
&:hover {
6+
border-color: color(gray-500);
7+
}
48
}

src/_sass/components/_release-note-card.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,16 @@
6060
right: 20;
6161
padding: 5px;
6262
}
63+
6364
&--hidden {
6465
visibility: hidden;
6566
left: -999px;
6667
width: 1px;
6768
height: 1px;
6869
overflow: hidden;
6970
}
71+
72+
&--filter-button{
73+
display: inline-block;
74+
}
7075
}

src/release-notes/test.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@ title: Release Notes Test
33
hide_toc: true
44
---
55

6-
<button class="button button-fill filter-button" onclick="javascript:hideCards(ga)">GA</button>
7-
<button class="button button-fill filter-button" onclick="javascript:hideCards(beta)">Beta</button>
8-
<button class="button button-fill filter-button" onclick="javascript:showCards()">Reset filter</button>
6+
<div class="release-note-card--filter-button">
7+
<p>Select one of the following buttons to see release notes in that release stage:<br></p>
8+
<button class="button button-hollow" style="style=width:1500%" onclick="javascript:hideCards(ga)">GA</button>
9+
<button class="button button-hollow" onclick="javascript:hideCards(beta)">Beta</button>
10+
<button class="button button-hollow" onclick="javascript:hideCards(pilot)">Pilot</button>
11+
<button class="button" style="color(#3366ff)" onclick="javascript:showCards()">Reset</button>
12+
</div>
913

1014
{% assign notes = site.data.release-notes.notes %}
1115
{% for note in notes %}

0 commit comments

Comments
 (0)