Download & Extend

Terminate CSS comment in layout.css

Project:Zen
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:rport
Status:closed (fixed)

Issue Summary

Is the unterminated /* in layout.css intentional? If so it should be commented, if not let me know and I'll submit a patch.

Comments

#1

Looks like cruft to me
Should have been commented if it were needed.
Roll away...

#2

I'm not seeing this. Can you give me a line number or a context?

#3

Assigned to:Anonymous» rport
Status:active» needs review

Hmm...

A quick look at layout.css shows this exists on or near line 96 (the very bottom) its a quick fix, i've attached a patch for review.

rport

AttachmentSize
layout-070129.patch 188 bytes

#4

Has this been committed yet?

#5

This patch, which effectively uncomments the bottom 3 lines of layout.css, breaks the footer in the zen-fixed theme. It causes the footer to take up as much space as in the zen non-fixed theme.

#6

I suspect from reading this that the area affected should have been commented out however the terminating */ was left out (see below).

Here is a copy of the relevant section of code;

/*
body.sidebar-left  #footer {
  margin-left: -210px;
}

body.sidebar-right #footer {
  margin-right: -210px;
}

body.both-sidebars #footer {
  margin: 0 -210px;
}

Over to jjeff to consider this and resolve the matter...

  1. Is this some legacy code that should be removed, not just commented out; or
  2. Is this css for some new feature/idea that is simply missing the block terminator; or

~ rport

#7

Subscribing

#8

Version:6.x-1.x-dev» 5.x-1.x-dev

Here is a proper patch. Works in both fixed and full modes.

AttachmentSize
zen-comment-close.patch 568 bytes

#9

Status:needs review» fixed

committed to 5 dev

#10

Status:fixed» closed (fixed)