socialnetworknews-web

A open-source Paper.li clone
git clone git://archive.git.mtrnord.blog/SocialNetworkNews/socialnetworknews-web.git
Log | Files | Refs | README | LICENSE

commit 80c9daf91d4077c028047a8e7d79ba7ae9af9f46
parent 6c62f5a86c71152089bd0bd8bd1f7d7a903fdb9b
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 23 Mar 2018 19:42:04 +0100

Use fixed max-height

Diffstat:
Msrc/app/app.module.ts | 1-
Msrc/app/paper/paper.component.scss | 2+-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/app/app.module.ts b/src/app/app.module.ts @@ -50,7 +50,6 @@ export class RavenErrorHandler implements ErrorHandler { ], imports: [ BrowserModule.withServerTransition({appId: 'snn-app'}), - // MDBBootstrapModule.forRoot(), AppRoutingModule, BrowserAnimationsModule, AvatarModule, diff --git a/src/app/paper/paper.component.scss b/src/app/paper/paper.component.scss @@ -15,7 +15,7 @@ box-shadow: 2px 2px 6px 0 rgba(0,0,0,0.3); text-align: center; position: relative; - max-height: fit-content; + max-height: 15%; } .thumbnail {