diff options
author | Michael Crawford <michael@crawford.io> | 2019-08-02 03:27:35 +0300 |
---|---|---|
committer | Michael Crawford <michael@crawford.io> | 2019-08-02 03:27:35 +0300 |
commit | 23dff2f1e5f3fd63d80d0a360604db78b4ae7a5a (patch) | |
tree | 0d66d1b16a177beda3b6f44c0a1786b32eae6b42 | |
parent | ae138295b7f0a471c8e59386b75d6fb37b077a82 (diff) |
fix overflowing image on desktop
-rw-r--r-- | layouts/partials/head.html | 2 | ||||
-rw-r--r-- | static/css/component.css | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 6617cb5..dcc2c99 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -10,7 +10,7 @@ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <link rel="stylesheet" type="text/css" href="/css/main.css?v=1.2.9" /> - <link rel="stylesheet" type="text/css" href="/css/component.css?v=0.0.6" /> + <link rel="stylesheet" type="text/css" href="/css/component.css?v=0.0.8" /> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> diff --git a/static/css/component.css b/static/css/component.css index 6fe7ae3..eb30090 100644 --- a/static/css/component.css +++ b/static/css/component.css @@ -52,8 +52,7 @@ .og-expander-inner { padding: 50px 30px; - /*height: 100%;*/ - height: auto; + height: 100%; } .og-close { @@ -194,4 +193,5 @@ @media screen and (max-width: 650px) { .og-fullimg { display: none; } .og-details { float: none; width: 100%; } + .og-expander-inner { height: auto; } }
\ No newline at end of file |