Discussion:
[Mason-devel] Tiny cosmetic masonhq.com improvement [patch]
Adam Sjøgren
2009-05-23 12:34:17 UTC
Permalink
Hi.


When I visit masonhq.com the "Go"-button extends into the box next to
it, and it looks a little silly.

I guess it is due to differences in fonts. The attached patch changes
the look from the top-part of this screenshot to the bottom-part for me:

* Loading Image...

I don't know if it is the correct/perfect fix, but I think it should
work for every browser (that supports attribute selectors; I have tested
with Firefox and Opera on my desktop box), as the left column is fixed
width to begin with.

---
comps/template/style.css | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/comps/template/style.css b/comps/template/style.css
index fd9456b..aeb3d3b 100644
--- a/comps/template/style.css
+++ b/comps/template/style.css
@@ -117,6 +117,10 @@ input {
background: #FFFFFF;
}

+#navsearch input[type=text] {
+ width: <% $left_width - 50 %>px;
+}
+
#footercontainer ul
{
width: 100%;
--
1.6.3.1


Best regards,

Adam
--
"Emacs is like a laser guided missile. It only has to Adam Sjøgren
be slight mis-configured to ruin your whole day." ***@koldfront.dk
Jonathan Swartz
2009-05-26 23:45:07 UTC
Permalink
I've applied it. Thanks!
Post by Adam Sjøgren
Hi.
When I visit masonhq.com the "Go"-button extends into the box next to
it, and it looks a little silly.
I guess it is due to differences in fonts. The attached patch changes
* http://koldfront.dk/misc/masonhq-search-width.png
I don't know if it is the correct/perfect fix, but I think it should
work for every browser (that supports attribute selectors; I have tested
with Firefox and Opera on my desktop box), as the left column is fixed
width to begin with.
---
comps/template/style.css | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/comps/template/style.css b/comps/template/style.css
index fd9456b..aeb3d3b 100644
--- a/comps/template/style.css
+++ b/comps/template/style.css
@@ -117,6 +117,10 @@ input {
background: #FFFFFF;
}
+#navsearch input[type=text] {
+ width: <% $left_width - 50 %>px;
+}
+
#footercontainer ul
{
width: 100%;
--
1.6.3.1
Best regards,
Adam
--
"Emacs is like a laser guided missile. It only has to Adam Sjøgren
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity
professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like
Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Mason-devel mailing list
https://lists.sourceforge.net/lists/listinfo/mason-devel
Loading...