# Gantt charts are way too small to be readable

**URL:** <https://forum.obsidian.md/t/gantt-charts-are-way-too-small-to-be-readable/7017>\
**Category:** Bug graveyard\
**Tags:** mermaid\
**Created:** [October 13, 2020, 11:16pm UTC](https://forum.obsidian.md/t/gantt-charts-are-way-too-small-to-be-readable/7017 "2020-10-13T23:16:14Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![GLight](https://forum.obsidian.md/user_avatar/forum.obsidian.md/glight/32/4851_2.png) [@GLight](https://forum.obsidian.md/u/GLight)\
**Post date:** [October 23, 2020, 2:08am UTC](https://forum.obsidian.md/t/gantt-charts-are-way-too-small-to-be-readable/7017/9 "2020-10-23T02:08:56Z")

</div>

for the image enlarging issue, there is a .css workaround that can help. you can try that.

Inspired by the posts in:

> [@Meta Post - Common CSS Hacks](https://forum.obsidian.md/t/meta-post-common-css-hacks/1978):
>
> Hi, I want to start collecting common CSS hacks for people to reference. If the hack you’ve come across isn’t particularly large then go ahead and use the format Title Version it last worked with Code Otherwise just post a link and I will maintain a list [Andy Matuschak mode - V2.7 (updated for 0.7+ new panes)](https://forum.obsidian.md/t/andy-matuschak-mode-v2-7-updated-for-0-7-new-panes/170/31)[Bullet Point Relationship Lines](https://forum.obsidian.md/t/meta-post-common-css-hacks/1978/2)[Collapsible Sidebars](https://forum.obsidian.md/t/meta-post-common-css-hacks/1978/3)[Block Cursor](https://forum.obsidian.md/t/meta-post-common-css-hacks/1978/9)[Auto-fade Note Controls](https://forum.obsidian.md/t/meta-post-common-css-hacks/1978/10)[Tag Pills](https://forum.obsidian.md/t/meta-post-common-css-hacks/1978/13)[Vim mode with line focus](https://forum.obsidian.md/t/meta-post-common-css-hacks/1978/17)[Naked Embeds](https://forum.obsidian.md/t/meta-post-common-css-hacks/1978/19?8u=lizardmenfromspace)[Text Hyphenation and Justification](https://forum.obsidian.md/t/meta-post-common-css-hacks/1978/25)[Enlarge Im…](https://forum.obsidian.md/t/meta-post-common-css-hacks/1978/29)

the code I used right now is like this:  
in case the mouse hovers on a image:

```auto
.markdown-preview-view img:hover {
	/*cursor:zoom-out;*/
	display:block;
	z-index:100;
	/*position:fixed;*/
    max-height:100%;
    max-width:100%;
    height:100%;
    width:100%;
    object-fit: contain;
    margin:0 auto;
    text-align:center;
    /*top: 50%;
  	transform: translateY(-50%);*/
    padding:0;
    left:0;
    right:0;
    bottom:0;
    background:var(--background-primary);
    outline:none;
}

```

in case you click an image:

```auto
.markdown-preview-view img:active {
	cursor:zoom-out;
	display:block;
	z-index:100;
	position:fixed;
    max-height:100%;
    max-width:100%;
    height:100%;
    width:100%;
    object-fit: contain;
    margin:0 auto;
    text-align:center;
    top: 50%;
  	transform: translateY(-50%);
    padding:0;
    left:0;
    right:0;
    bottom:0;
    background:var(--background-primary);
}

```

For me, they can enlarge the image to the extent that is readable.

---

_[View the full topic](https://forum.obsidian.md/t/gantt-charts-are-way-too-small-to-be-readable/7017)._
