Skip to content

Commit 8c880e1

Browse files
Fix alignment of timings for SQL statements (#627)
* Fix alignment of timings for SQL statements * Add changelog entry --------- Co-authored-by: Nate Berkopec <[email protected]>
1 parent bc57e02 commit 8c880e1

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- [BREAKING CHANGE] Ruby version 3.1.0 or later is required. [#632](https://github.com/MiniProfiler/rack-mini-profiler/pull/632)
6+
- [FIX] alignment of SQL query start times. [#627](https://github.com/MiniProfiler/rack-mini-profiler/pull/627)
67
- [FIX] Lower case HTTP response headers to be compatible with Rack 3 [#628](https://github.com/MiniProfiler/rack-mini-profiler/pull/628)
78
- [FIX] Truncate long profiler name in profiler popup. [#634](https://github.com/MiniProfiler/rack-mini-profiler/pull/634)
89
- [FIX] `flamegraph_mode` query param having no effect. [#635](https://github.com/MiniProfiler/rack-mini-profiler/pull/635)

lib/html/includes.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@
113113
float: left; }
114114
.profiler-result .profiler-info .profiler-server-time {
115115
white-space: nowrap; }
116+
.profiler-result .profiler-info .profiler-number {
117+
display: block; }
116118
.profiler-result .profiler-timings th {
117119
background-color: #fff;
118120
color: #767676;

lib/html/includes.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ $zindex: 2147483640; // near 32bit max 2147483647
114114
.profiler-server-time {
115115
white-space: nowrap;
116116
}
117+
.profiler-number {
118+
display: block;
119+
}
117120
}
118121

119122
.profiler-timings {

lib/mini_profiler/asset_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22
module Rack
33
class MiniProfiler
4-
ASSET_VERSION = '6b13136c854b67ed12d949d9a599d925'
4+
ASSET_VERSION = '5b33967a307f940e28670fdeabb510b1'
55
end
66
end

0 commit comments

Comments
 (0)