Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/tfedor/AugmentedSteam in…
Browse files Browse the repository at this point in the history
…to develop
  • Loading branch information
MxtOUT committed Apr 22, 2020
2 parents 169fcb1 + e84cf86 commit a2a0016
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
10 changes: 3 additions & 7 deletions css/enhancedsteam.css
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,6 @@ img.astats_icon {
height: 337.5px;
}

#es_youtube_reviews {
margin-top: 20px;
}

.es_tab.active .tab_content {
background-color: #0003 !important;
}
Expand Down Expand Up @@ -1251,7 +1247,7 @@ img.astats_icon {
.workshop_item_header .highlight_player_item iframe,
.workshop_item_header .workshopItemPreviewImageEnlargeable,
.workshop_item_header .workshopItemPreviewImageEnlargeableContainer,
#es_youtube_gameplay_player {
.es_youtube_player {
transition: width 0.25s ease, max-width 0.25s ease, height 0.25s ease;
}
.es_slider_toggle {
Expand Down Expand Up @@ -1334,11 +1330,11 @@ img.astats_icon {
}

#game_highlights.es_expanded .highlight_ctn,
#game_highlights.es_expanded #es_youtube_gameplay_player {
#game_highlights.es_expanded .es_youtube_player {
width: 940px;
}

#game_highlights.es_expanded #es_youtube_gameplay_player {
#game_highlights.es_expanded .es_youtube_player {
height: 528.75px;
}

Expand Down
7 changes: 1 addition & 6 deletions js/content/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -1297,12 +1297,7 @@ class AppPageClass extends StorePageClass {
// Add data to the review section in the left column, or create one if that block doesn't exist
let reviewsNode = document.getElementById("game_area_reviews");
if (reviewsNode) {
let youTubeReviews = document.getElementById("es_youtube_reviews");
if (youTubeReviews) {
HTML.beforeBegin(youTubeReviews, html);
} else {
HTML.beforeEnd(reviewsNode, html);
}
HTML.beforeEnd(reviewsNode, html);
} else {
HTML.beforeBegin(document.getElementById("game_area_description").parentElement.parentElement,
`<div id="game_area_reviews" class="game_area_description">
Expand Down

0 comments on commit a2a0016

Please sign in to comment.