Skip to content

Commit

Permalink
Display score inline
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Jan 6, 2022
1 parent 802b326 commit bca737d
Showing 1 changed file with 20 additions and 39 deletions.
59 changes: 20 additions & 39 deletions src/SearchBlock/less/answersbox.less
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,31 @@
.answer__primary {
overflow: hidden;

.ui.mini.rating {
// padding-left: 0.2em;
vertical-align: super;

.icon {
font-size: xx-small;
}

.active.icon {
color: @sf-azure;
}
}

a {
font-weight: bold;
}

.scored_link {
padding-right: 0.2em;
// display: inline;
// white-space: nowrap;
}

.answer__primarylink {
margin: 1em 0;
margin: 1em 0 0 0;
font-size: 1em;

a {
Expand Down Expand Up @@ -142,43 +161,5 @@
background: unset;
box-shadow: none;
// border-bottom: 1px solid #ccc;

.answers__bottom {
display: flex;
justify-content: space-between;
margin-top: 1em;

button {
margin-right: 0px;
}

h5 {
margin: 0em;
color: @sf-light-gray2;
font-size: 0.7em;
text-align: right;
}

.answers__bottom__spacer {
height: 0.5em;
flex-grow: 2;
border-bottom: 1px solid @sf-light-gray2;
margin-right: 1em;
margin-left: 1em;
}

.rating {
margin-left: 0em;

.icon.active {
color: #2d9390;
}
}
}

// .answer__text {
// font-size: normal;
// font-weight: bold;
// }
}
}

0 comments on commit bca737d

Please sign in to comment.