google-code-export / mgwt

Automatically exported from code.google.com/p/mgwt
Other
1 stars 0 forks source link

mgwt-List-last styles do not override mgwt-List>li styles without using !important #342

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create app view with celllist
2. define and inject my.css to override .mgwt-List-last style as
{
    border-bottom-style: solid;
    border-bottom-color: #abadb0;
    border-bottom-width: 2px;
}
3. observe the bottom border is missing from the last row cell.
4. append !important all three border-bottom styles.
{
    border-bottom-style: solid !important;
    border-bottom-color: #abadb0 !important;
    border-bottom-width: 2px !important;
}
5. observe the bottom border is now defined for the last row cell.

What is the expected output? What do you see instead?
I expected that the "last" style would override the stock .mgwt-List>li style 
without having to resort to !important 

What version of the product are you using? On what operating system?
mgwt 1.2.0 snapshot, gwt 2.5.1, chrome

Please provide any additional information below.

Original issue reported on code.google.com by aste...@gmail.com on 1 Aug 2014 at 10:13

GoogleCodeExporter commented 9 years ago
Moved to https://github.com/mgwt/mgwt/issues/87

Original comment by kurka.da...@gmail.com on 4 Aug 2014 at 9:58