Skip to content

Commit

Permalink
small update to slide size toggling
Browse files Browse the repository at this point in the history
whole header is now used as a button instead of only the text.
  • Loading branch information
JL6079 committed Dec 9, 2021
1 parent 4ecfb98 commit c753579
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/components/GamesEpic.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ function GamesEpic(props) {
if (props.data.epic.info.games > 0)
return (
<div className="slide drag" id ="epic">
<div className="header dataToolTip" data-tool-tip={tooltip}>
<span><span className="accent2text" onClick={Switch}>Epic Games</span></span>
<div className="header dataToolTip" data-tool-tip={tooltip} onClick={Switch}>
<span><span className="accent2text">Epic Games</span></span>
</div>


Expand Down
4 changes: 2 additions & 2 deletions src/components/GamesOrigin.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ function GamesOrigin(props) {
if (props.data.origin.info.games > 0)
return (
<div className="slide drag" id ="origin">
<div className="header dataToolTip" data-tool-tip={tooltip}>
<span><span className="accent2text" onClick={Switch}>Origin Games</span></span>
<div className="header dataToolTip" data-tool-tip={tooltip} onClick={Switch}>
<span><span className="accent2text">Origin Games</span></span>
</div>


Expand Down
4 changes: 2 additions & 2 deletions src/components/GamesSteam.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ function GamesSteam(props) {
if (props.data.steam.info.games > 0)
return (
<div className="slide drag" id="steam">
<div className="header dataToolTip" data-tool-tip={tooltip}>
<span><span className="accent2text" onClick={Switch}>Steam Games</span></span>
<div className="header dataToolTip" data-tool-tip={tooltip} onClick={Switch}>
<span><span className="accent2text">Steam Games</span></span>
</div>


Expand Down
4 changes: 2 additions & 2 deletions src/components/GamesUbisoft.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ function GamesUbisoft(props) {
if (props.data.ubisoft.info.games > 0)
return (
<div className="slide drag" id="ubisoft">
<div className="header dataToolTip" data-tool-tip={tooltip}>
<span><span className="accent2text" onClick={Switch}>Ubisoft Games</span></span>
<div className="header dataToolTip" data-tool-tip={tooltip} onClick={Switch}>
<span><span className="accent2text">Ubisoft Games</span></span>
</div>


Expand Down
2 changes: 1 addition & 1 deletion src/data/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"2021-06-12",
"19:24:19"
],
"Version" : "0.14"
"Version" : "0.14.1"
}
}
4 changes: 2 additions & 2 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ Chart styles
position: relative;
height: 1em;
margin-right: 0;
outline: 1px solid var(--color-dark2);
outline: 1px solid var(--color-dark3);
border-radius: 0.25em;
z-index: 2;
}
Expand Down Expand Up @@ -1012,7 +1012,7 @@ Chart styles

.row:hover .label::after { /* chart content highlighter */
width: calc(100% - 15ch - 0.5em);
opacity: 0.1;
opacity: 0.4;
}

.chartList .row:hover > .label { /* label highlighter */
Expand Down

0 comments on commit c753579

Please sign in to comment.