Skip to content

Commit

Permalink
Merge pull request #95 from SU-SWS/release-8.2.4
Browse files Browse the repository at this point in the history
"8.x-2.x >  8.2.4
  • Loading branch information
imonroe authored Aug 7, 2020
2 parents a5e290e + d434692 commit 6a58cbf
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 10 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Stanford News

8.x-2.4
--------------------------------------------------------------------------------
_Release Date: 2020-08-07_

- D8CORE-2432: changed the font size for the load more button (#94) (02656d3)
- D8CORE-2132: adding a wrapper div to address issue with SOE subtheme (#93) (0d1eae9)
- Merge pull request #92 from SU-SWS/D8CORE-1938-focus (dbda2bf)
- D8CORE-1938: on vertical cards, move focus indicator from link/image to entire card (cf9f32a)
- Removed views_taxonomy_term_name_depth thats not used (#91) (6a1373d)

8.x-2.3
--------------------------------------------------------------------------------
_Release Date: 2020-07-13_
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
"drupal/taxonomy_menu": "dev-3.x#c0892fa9b428ceb784876554c9b80f49d72a246f",
"drupal/views_block_filter_block": "^1.0",
"drupal/views_infinite_scroll": "^1.6",
"drupal/views_taxonomy_term_name_depth": "^6.0",
"su-sws/jumpstart_ui": "^8.1.0",
"su-sws/stanford_text_editor": "^8.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion dist/css/news-list-item.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/news-vertical-teaser.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions lib/scss/components/news-list-item/_list-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,17 @@
}
}

.stanford-news--list {
.js-pager__items {
.pager__item {

.button {
font-size: 2.8rem;
}
}
}
}

.su-news-external {
.su-news-list__item {
a {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@
text-decoration: underline;
}
}

&:focus {
outline: none;
}
}

// Action title link.
Expand Down Expand Up @@ -162,6 +166,11 @@
}
}
}

// Put the focus on the whole card
&:focus-within {
outline: -webkit-focus-ring-color auto 1px;
}
}
}

Expand Down
3 changes: 1 addition & 2 deletions stanford_news.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ type: module
description: 'Stanford news items and views.'
core_version_requirement: ^8.8 || ^9
package: Stanford
version: 8.x-2.3
version: 8.x-2.4
dependencies:
- allowed_formats:allowed_formats
- auto_entitylabel:auto_entitylabel
Expand Down Expand Up @@ -42,7 +42,6 @@ dependencies:
- ui_patterns:ui_patterns_views
- views_block_filter_block:views_block_filter_block
- views_infinite_scroll:views_infinite_scroll
- views_taxonomy_term_name_depth:views_taxonomy_term_name_depth

component-libraries:
news: { paths: [templates/components] }
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@
{{- news_vertical_teaser_image -}}
</div>
</figure>
<h2 class="su-link su-card__link {{ news_url_link_type }}">
{{- news_vertical_teaser_headline -}}
</h2>
<div class="su-news-header">
<h2 class="su-link su-card__link {{ news_url_link_type }}">
{{- news_vertical_teaser_headline -}}
</h2>
</div>
{%- if news_url is not empty -%}
</a>
{%- endif -%}
Expand Down
4 changes: 2 additions & 2 deletions tests/codeception/acceptance/NewsNodeCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ public function testNewsNode(\AcceptanceTester $I) {

$I->amOnPage('/news');
$I->canSee('This is a headline', 'h2');
$I->canSee(date('F j, Y'));
$I->canSee(date('F d, Y'));

$I->click('Foo');
$I->canSee('This is a headline', 'h2');
$I->canSee(date('F j, Y'));
$I->canSee(date('F d, Y'));

$I->logInWithRole('authenticated');
$I->amOnPage('/news');
Expand Down

0 comments on commit 6a58cbf

Please sign in to comment.