Skip to content

Commit

Permalink
Adjust minimum height of image slider
Browse files Browse the repository at this point in the history
  • Loading branch information
angelina-momin committed Oct 17, 2024
1 parent 40bb8fc commit e8a42c4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions inst/extdata/templates/cert/template_base.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ title: $title$
.content-wrapper {
display: flex;
gap: 20px; /* Space between the image slider and the right content */
/* align-items: stretch; */
}

/* Left side (Image slider) */
Expand All @@ -32,12 +31,13 @@ title: $title$
justify-content: space-between;
background-color: #fff;
width: 100%;
height: 68vh;
min-height: 68vh;
flex-grow: 1;
background-size: contain;
background-position: center top 10px;
background-position: center center;
background-repeat: no-repeat;
padding-top: 10px;
flex-grow: 1;
}

/* Buttons for image slider */
Expand All @@ -49,6 +49,7 @@ title: $title$
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
margin-right: 10px;
margin-top: -10px;
margin-bottom: 50px;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

Expand All @@ -68,7 +69,8 @@ title: $title$

/* Paper details and Codecheck details */
.paper-details, .codecheck-details {
padding: 25px;
padding: 20px;
/* height: auto; */
/* display: flex;
flex-direction: column;
justify-content: center; */
Expand Down

0 comments on commit e8a42c4

Please sign in to comment.