Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak reaction buttons #11516

Merged
merged 1 commit into from
May 19, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Tweak reaction buttons (#11496)
- Vertical centering using flexbox
- Very slightly decreased size of the boxes

Co-authored-by: zeripath <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
  • Loading branch information
3 people committed May 19, 2020
commit b416cc6cf8abeedb5a80e34fa35be2149608865a
18 changes: 9 additions & 9 deletions web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -2197,9 +2197,12 @@
padding: 0;
display: flex;

.ui.label {
.ui.label,
.ui.label.visible {
max-height: 40px;
padding: 9px 15px 7px;
padding: .4rem .8rem;
display: flex !important;
align-items: center;
border: 0;
border-right: 1px solid;
border-radius: 0;
Expand All @@ -2220,20 +2223,17 @@
}

.reaction-count {
margin-left: 4px;
margin-left: .5rem;
}

.select-reaction {
float: left;
padding: .6em;
line-height: 21px;
display: flex;
align-items: center;
padding: .5rem;

&:not(.active) a {
display: none;
}
> svg {
vertical-align: middle;
}
}

&:hover .select-reaction a {
Expand Down