Skip to content

Commit

Permalink
Merge pull request #349 from jonathanhefner/banner-match-tray-width
Browse files Browse the repository at this point in the history
Fix 1px width difference between banner and tray
  • Loading branch information
jonathanhefner authored Dec 24, 2023
2 parents d35ef9f + 8de43da commit 49ad362
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rdoc/generator/template/rails/resources/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ html {
.banner {
height: var(--banner-height);
background-color: var(--brand-color);
box-shadow: 1px 0px var(--brand-color); /* Match .panel_tray width on desktop */
}

.banner__segment {
Expand Down Expand Up @@ -658,7 +659,7 @@ html {

.panel__tray {
height: unset;
border-right: 1px solid color-mix(in srgb, currentColor 25%, transparent);
box-shadow: 1px 0 color-mix(in srgb, currentColor 25%, transparent);
}

.panel__results.active {
Expand Down

0 comments on commit 49ad362

Please sign in to comment.