[MAGNOLIA-4411] Main bar looks ugly on IE7 Created: 14/May/12  Updated: 24/May/12  Resolved: 21/May/12

Status: Closed
Project: Magnolia
Component/s: page editor
Affects Version/s: 4.5.2
Fix Version/s: 4.5.3

Type: Bug Priority: Major
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

IE7


Attachments: PNG File GSi7H.png     PNG File mainbarontop-IMPROVED.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Just realized this after testing the changes I made for MAGNOLIA-4402 (these changes have nothing to do with the issue being reported here which has been verified on current demoauthor.magnolia-cms.com 4.5.2). See attached screenshot. Just for the records, on IE8 and 9 it looks fine. Since we're probably going to need different workarounds for different browsers I think it's wise to start having a look at GWT's conditional css so that also css, like javascript, is evaluated at compiled-time and a specific version for each browser is produced. One could then write something like, ie

@if user.agent ie7 {
  .myClass {
    //do horrible workarounds
  }
} @else {
  .myClass {
    //do it right
  }
}


 Comments   
Comment by Federico Grilli [ 21/May/12 ]

Managed to improve the main bar in IE7-8- (IE8 now actually looks fine) so to make it acceptable and w/o breaking other browsers (retested on FF, Safari, Chrome and different IE flavours).

Generated at Mon Feb 12 03:55:31 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.