Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix colspan stuff on line views

Adjusting styling
  • Loading branch information...
commit b8d46eeed844d7eec798bbbaf2ed6f01f360b50e 1 parent a2c13f5
Tye Shavik authored
17 app/assets/stylesheets/rubyception/lines.sass
View
@@ -1,5 +1,6 @@
.lines
- :font-family 'Menlo'
+ tr, td, pre, div, span
+ :font-family monospace
:margin
:top 5px
:background rgb(32, 32, 32)
@@ -13,24 +14,26 @@
:vertical-align bottom
.line
:font-size 11px
+ .name, .duration, .msg, .layout
+ :white-space nowrap
+ .num,.msg
+ :padding 1px 5px
.duration
:text-align right
:color rgb(50,250,100)
- .num,.msg
- :display inline-block
- :padding 1px 5px
- .msg
- :padding
- :left 1px
.num
:text-align right
:background rgb(0,0,0)
td:first-child
+ :background rgb(10,10,10)
:padding
+ :right 5px
:left 5px
td:last-child
:padding
:right 5px
+ .max
+ :width 100%
.line:first-child
td
:padding
4 app/views/rubyception/lines/action_view/_render_partial.haml
View
@@ -1,3 +1,3 @@
%td.msg render partial
-%td.identifier {{identifier}}
-%td.duration{colspan:10} {{duration}}ms
+%td.identifier.max{colspan: 2} {{identifier}}
+%td.duration {{duration}}ms
4 app/views/rubyception/lines/action_view/_render_template.haml
View
@@ -1,6 +1,6 @@
%td.msg render template
-%td.identifier {{identifier}}
+%td.identifier.max {{identifier}}
%td.layout
%span layout:
{{layout}}
-%td.duration{colspan:10} {{duration}}ms
+%td.duration {{duration}}ms
4 app/views/rubyception/lines/active_record/_identity.haml
View
@@ -1,3 +1,3 @@
%td.name {{name}}
-%td.line {{line}}
-%td.duration{colspan:10} {{duration}}ms
+%td.line.max{colspan:2} {{line}}
+%td.duration {{duration}}ms
Please sign in to comment.
Something went wrong with that request. Please try again.