commit | 31ce435aa3735b417747b7befc700d1662cd8afa | [log] [tgz] |
---|---|---|
author | Kamil Musin <kamilm@google.com> | Wed Sep 27 12:05:06 2023 +0200 |
committer | Kamil Musin <kamilm@google.com> | Wed Sep 27 12:05:06 2023 +0200 |
tree | 33b2e691317e93c892e79225ef00bfa4d35f3ee8 | |
parent | 7feacd6059237bbc1dc36a392f36029bd0604fe3 [diff] |
Hardcode the width of "Press C to comment" tooltip Ib1a05ce8d introduced the ability to create multiline tooltips. The purpose of the change was to allow code-owners plugin to have more detailed owners tooltip for the files. Unfortunately the overriding of `white-space`, breaks the width calculation for the "Press C to comment tooltip". For the `position: absolute` elements the `width:auto`, `width:max-content` and `width:min-content` doesn't achieve the desired result of letting the tooltip be as large as needed. In Ibffb432ed the width was set to 100% instead, which fixed the issue, but made the horizontal scrollbars appear. So in this change we hardcode the appropriate width for the "Press C to comment" message, since we know exactly how long it is. Google-Bug-Id: b/302129659 Release-Notes: skip Change-Id: I63634ac4c2e2d8c5e6e72564779d4a6c1b3bb046
Gerrit is a code review and project management tool for Git based projects.
Gerrit makes reviews easier by showing changes in a side-by-side display, and allowing inline comments to be added by any reviewer.
Gerrit simplifies Git based project maintainership by permitting any authorized user to submit changes to the master Git repository, rather than requiring all approved changes to be merged in by hand by the project maintainer.
For information about how to install and use Gerrit, refer to the documentation.
Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.
Please report bugs on the issue tracker.
Gerrit is the work of hundreds of contributors. We appreciate your help!
Please read the contribution guidelines.
Note that we do not accept Pull Requests via the Github mirror.
The Developer Mailing list is repo-discuss on Google Groups.
Gerrit is provided under the Apache License 2.0.
Install Bazel and run the following:
git clone --recurse-submodules https://gerrit.googlesource.com/gerrit cd gerrit && bazel build release
The instruction how to configure GerritForge/BinTray repositories is here
On Debian/Ubuntu run:
apt-get update && apt-get install gerrit=<version>-<release>
NOTE: release is a counter that starts with 1 and indicates the number of packages that have been released with the same version of the software.
On CentOS/RedHat run:
yum clean all && yum install gerrit-<version>[-<release>]
On Fedora run:
dnf clean all && dnf install gerrit-<version>[-<release>]
Docker images of Gerrit are available on DockerHub
To run a CentOS 8 based Gerrit image:
docker run -p 8080:8080 gerritcodereview/gerrit[:version]-centos8
To run a Ubuntu 20.04 based Gerrit image:
docker run -p 8080:8080 gerritcodereview/gerrit[:version]-ubuntu20
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.