Permalink
Browse files

allow user to see more tags in the reference,

simplify the style declaration for a tag
  • Loading branch information...
1 parent 827c671 commit d8ee178988cbff3b8e5454e83772864b39646fda @saturnflyer saturnflyer committed Dec 5, 2010
Showing with 105 additions and 94 deletions.
  1. +9 −8 stylesheets/admin/partials/_popup.sass
  2. +96 −86 views/admin/docs/tags/show.html.erb
@@ -28,7 +28,7 @@ div.popup
.snippet_description
border-bottom: 1px dotted silver
font-size: 95%
- padding: 12px 0
+ padding: 6px 0
h4
color: green
font-size: 120%
@@ -69,13 +69,8 @@ div.popup
border: 1px solid #ddd
color: #666
font-family: Monaco, "Courier New", Courier, monospace
- overflow: hidden
+ overflow: auto
padding: 10px
- h4
- color: green
- font-size: 120%
- margin-top: 0
- margin-bottom: 8px
table
width: 100%
th
@@ -104,6 +99,12 @@ div.popup
margin-bottom: 1em
.close_link
text-align: center
+.tag
+ color: green
+ cursor: pointer
+ font-size: 120%
+ margin-top: 0
+ margin-bottom: 8px
div.popup .reference table
th
@@ -114,4 +115,4 @@ div.popup .reference table
h2, h3, h4
color: black
margin: 0
- margin-bottom: .5em
+ margin-bottom: .5em
Oops, something went wrong.

0 comments on commit d8ee178

Please sign in to comment.