WebTales / rubedo-backoffice-ui

Other
8 stars 4 forks source link

Background-Image not streched when height > width #13

Open ayurmedia opened 10 years ago

ayurmedia commented 10 years ago

Background-Image does not scale well when resizing window. I use 2 browser side by side on 24" Monitor, and Desktop-Image is too small. screen shot 2014-02-06 at 12 33 37 You can see the "Rubedo" Text in Background as the Desktop-Image is too small.

possible patch: add this to to uxs.css

desktopBackGround {

display: block;
height: auto !important;
min-height: 100%;
min-width: 100%;
width: auto !important;

}

Side-Effect now is that the Image will be cut off if background-image is not in Ratio: Browser: height * width. Parts of background-Image is hidden. Workaround still better than too small where white canvas shows trough.