Skip to content

Commit

Permalink
Fix position of invisible button inside Card (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
huong-li-nguyen authored Dec 22, 2023
1 parent 4aa482e commit 81451d3
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!--
A new scriv changelog fragment.
Uncomment the section that is right (remove the HTML comment wrapper).
-->

<!--
### Highlights ✨
- A bullet item for the Highlights ✨ category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Removed
- A bullet item for the Removed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Added
- A bullet item for the Added category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Changed
- A bullet item for the Changed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Deprecated
- A bullet item for the Deprecated category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->

### Fixed

- Fix position of invisible button inside `Card` ([#236](https://github.com/mckinsey/vizro/pull/236))

<!--
### Security
- A bullet item for the Security category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
6 changes: 4 additions & 2 deletions vizro-core/src/vizro/static/css/card.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@
}

.card_button {
height: 84%;
height: 100%;
left: 0;
position: absolute;
width: 92%;
top: 0;
width: 100%;
}

.card_text h1,
Expand Down

0 comments on commit 81451d3

Please sign in to comment.