Skip to content

Commit be42999

Browse files
committed
Styling fixes for HelpSection
Signed-off-by: Olga Bulat <obulat@gmail.com>
1 parent 93fda80 commit be42999

File tree

2 files changed

+15
-21
lines changed

2 files changed

+15
-21
lines changed

src/components/HelpSection.vue

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<li class="help-link"
66
v-for="(modal, idx) in this.modals"
77
:key="idx">
8-
<a class="vocab-body body-big vocab-tomato"
8+
<a class="vocab-body body-big help-link-a"
99
@click="clickHandler(idx)">{{$t(`help.${modal.title}.heading`)}}</a>
1010
</li>
1111
</ul>
@@ -150,7 +150,7 @@
150150
</header>
151151
<section class="modal-card-body">
152152
<p v-html="this.$t('help.how-licenses-communicated.text')" />
153-
<table class="table is-hoverable is-fullwidth">
153+
<table class="table is-hoverable is-fullwidth help-section__table">
154154
<tbody>
155155
<tr>
156156
<th>{{$t('help.how-licenses-communicated.full-name')}}</th>
@@ -261,26 +261,29 @@ export default {
261261
}
262262
</script>
263263
<style scoped>
264-
.help-links {
265-
list-style-position: inside;
266-
list-style-image: url("../assets/arrow-right.png");
267-
}
268264
.help-link {
269265
padding-bottom: 8px;
270266
}
271-
.help-link .icon {
272-
vertical-align: text-bottom;
273-
margin-left: -3px;
274-
margin-right: 8px;
267+
.help-link .help-link-a {
268+
color: #ED592F;
275269
}
270+
.help-links .help-link .help-link-a:hover {
271+
font-weight: bold;
272+
color:black!important;
273+
}
274+
.help-links {
275+
list-style-position: inside;
276+
list-style-image: url("../assets/arrow-right.png");
277+
}
278+
276279
table svg {
277280
width: 28px !important;
278281
height: 28px !important;
279282
vertical-align: middle;
280283
margin-right: 3px;
281284
}
282285
283-
table {
286+
.help-section__table {
284287
margin-top: 1.5rem;
285288
}
286289
@@ -289,10 +292,6 @@ export default {
289292
padding-top: 0 !important;
290293
}
291294
292-
#modal-buttons {
293-
padding-bottom: 1.5rem;
294-
}
295-
296295
@media only screen and (max-width: 1025px) {
297296
.tablet-hide { display: none; }
298297
.tablet-show { display: block; }
@@ -302,11 +301,6 @@ export default {
302301
h2 { font-size: 30px !important; }
303302
button p { font-size: 18px; }
304303
305-
#modal-buttons {
306-
padding-top: 1rem;
307-
padding-bottom: 1rem;
308-
}
309-
310304
.modal-title { font-size: 18px; }
311305
.modal-content {
312306
margin-left: 10%;

tests/unit/specs/components/SelectedLicenseCode.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function _mockDomMethodsForClipboardJS(value) {
2828
document.createRange = () => ({ selectNodeContents: () => { } })
2929
}
3030

31-
describe('SelectedLicenseCode.vue', () => {
31+
describe('WebLicenseCode.vue', () => {
3232
let wrapper
3333

3434
beforeEach(() => {

0 commit comments

Comments
 (0)