Skip to content

Commit

Permalink
Refs #139198 - Horizontal card - move image to left.
Browse files Browse the repository at this point in the history
  • Loading branch information
GhitaB committed Oct 11, 2021
1 parent e24cf1f commit 0ac9ce2
Showing 1 changed file with 11 additions and 27 deletions.
38 changes: 11 additions & 27 deletions src/SearchBlock/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -394,21 +394,13 @@ div#page-document {
div.search-result {
overflow: auto;
width: 100%;
padding-bottom: 5px;
margin-top: 5px;
padding-bottom: 10px;
margin-top: 10px;
clear: both;

&:hover {
div.controls {
button {
opacity: 1 !important;
}
}
}

div.meta.col-full {
width: 100%;
margin-bottom: 5px;
margin-bottom: 0px;
font-size: 12px !important;

span.score {
Expand Down Expand Up @@ -438,34 +430,26 @@ div#page-document {
width: 100%;

div.col-left {
max-width: 180px;
max-width: 140px;
float: left;
text-align: center;

a,
img {
width: 180px;
width: 140px;
}

img {
padding: 10px;
}

div.controls {
display: flex;
justify-content: center;

button {
margin: 3px;
font-size: 10px;
opacity: 0;
}
position: relative;
top: 6px;
padding-top: 5px;
padding-right: 2px;
}
}

div.col-right {
width: calc(100% - 180px);
padding-top: 10px;
width: calc(100% - 140px);
padding-top: 5px;
padding-left: 10px;
float: right;

Expand Down

0 comments on commit 0ac9ce2

Please sign in to comment.