From 6a208a2fa16bb06a845c1dc3b7718721c0e6f453 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Fri, 3 Jan 2014 09:41:24 -0700 Subject: [PATCH] racket-style.css: move margin-note img formatting to Guide/Ref icon Setting image with to 1.5em seems to be aimed specifically at the cross-reference icons in the Guide and Reference, and the width should not apply to just any image in a margin note. (cherry picked from commit 463b81780a6e870d1f201e1b2408424bb02bfe77) --- pkgs/racket-pkgs/racket-doc/scribblings/icons.css | 4 ++++ pkgs/scribble-pkgs/scribble-lib/scribble/manual-style.css | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/racket-pkgs/racket-doc/scribblings/icons.css b/pkgs/racket-pkgs/racket-doc/scribblings/icons.css index f4fcd57eb1..4923ee0f4e 100644 --- a/pkgs/racket-pkgs/racket-doc/scribblings/icons.css +++ b/pkgs/racket-pkgs/racket-doc/scribblings/icons.css @@ -2,3 +2,7 @@ float: left; margin-right: 0.3em; } + +.imageleft img { + width: 1.5em; +} diff --git a/pkgs/scribble-pkgs/scribble-lib/scribble/manual-style.css b/pkgs/scribble-pkgs/scribble-lib/scribble/manual-style.css index 476d39d81c..def632fded 100644 --- a/pkgs/scribble-pkgs/scribble-lib/scribble/manual-style.css +++ b/pkgs/scribble-pkgs/scribble-lib/scribble/manual-style.css @@ -317,10 +317,6 @@ a:hover { font-weight: 400; } -.refcontent img { - width: 1.5em; -} - .refpara, .refparaleft { top: -1em; }