mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-17 11:59:30 +00:00
Add reactions to issues/PR and comments (#2856)
This commit is contained in:
parent
e59adcde65
commit
5dc37b187c
24 changed files with 677 additions and 8 deletions
|
@ -548,7 +548,7 @@
|
|||
}
|
||||
.content {
|
||||
margin-left: 4em;
|
||||
.header {
|
||||
> .header {
|
||||
#avatar-arrow;
|
||||
font-weight: normal;
|
||||
padding: auto 15px;
|
||||
|
@ -1350,6 +1350,43 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.segment.reactions, .select-reaction {
|
||||
&.dropdown .menu {
|
||||
right: 0!important;
|
||||
left: auto!important;
|
||||
> .header {
|
||||
margin: 0.75rem 0 .5rem;
|
||||
}
|
||||
> .item {
|
||||
float: left;
|
||||
padding: .5rem .5rem !important;
|
||||
img.emoji {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.segment.reactions {
|
||||
padding: .3em 1em;
|
||||
.ui.label {
|
||||
padding: .4em;
|
||||
&.disabled {
|
||||
cursor: default;
|
||||
}
|
||||
> img {
|
||||
height: 1.5em !important;
|
||||
}
|
||||
}
|
||||
.select-reaction {
|
||||
float: none;
|
||||
&:not(.active) a {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
&:hover .select-reaction a {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
// End of .repository
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue