Skip to content

Commit

Permalink
fix: updates CSS to handle video button on different card styles (MWP…
Browse files Browse the repository at this point in the history
…W-127824)
  • Loading branch information
cmiqueo committed Mar 10, 2023
1 parent 34f2eea commit d859c66
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions dist/app.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Chimera UI Libraries - Build 3/8/2023, 11:08:21
* Chimera UI Libraries - Build 3/10/2023, 14:52:43
*
*/
/******/ (function(modules) { // webpackBootstrap
Expand Down Expand Up @@ -3125,7 +3125,7 @@ var VideoButton = function VideoButton(_ref) {
_react2.default.createElement(
'button',
{
className: 'consonant-HalfHeightCard-videoButton-wrapper',
className: 'consonant-videoButton-wrapper',
'daa-ll': 'play',
'aria-label': 'Play',
onClick: handleShowModal },
Expand Down
4 changes: 2 additions & 2 deletions dist/main.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main.source.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion less/components/consonant/cards/half-height.less
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
}
}

&-videoButton-wrapper {
&-inner .consonant-videoButton-wrapper {
top: -118px;
background: transparent;
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion react/src/js/components/Consonant/Modal/videoButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const VideoButton = ({
return (
<Fragment>
<button
className="consonant-HalfHeightCard-videoButton-wrapper"
className="consonant-videoButton-wrapper"
daa-ll="play"
aria-label="Play"
onClick={handleShowModal}>
Expand Down

0 comments on commit d859c66

Please sign in to comment.