Thanks a lot.

I will use 768px value then.

(I always forget to check jira before to ask, sorry)
      De : Ecaterina Moraru (Valica) <[email protected]>
 À : Pascal BASTIEN <[email protected]>; XWiki Users <[email protected]> 
 Envoyé le : Vendredi 5 décembre 2014 16h28
 Objet : Re: [xwiki-users] I can not use less variable in a SSX
   
Hi,

http://jira.xwiki.org/browse/XWIKI-10708

Thanks,
Caty



On Fri, Dec 5, 2014 at 5:24 PM, Pascal BASTIEN <[email protected]> wrote:

Hello,
In ./skins/flamingo/less/bootstrap/variables.less we found:
//== Media queries breakpoints
//
//## Define the breakpoints at which your layout will change, adapting to 
different screen sizes.
...
// Small screen / tablet
//** Deprecated `@screen-sm` as of v3.0.1
@screen-sm:                  768px;
@screen-sm-min:              @screen-sm;

Then I want use "screen-sm-min" in a new SSX object but this doesn't 
work:@media (min-width: @screen-sm-min) {
  h1 {
    color: fuchsia;
   }}(If I replace screen-sm-min with his value 768px, my SSX work well.)
Is it normal than @screen-sm-min doesn't work in a SSX?Thxs
Pascal B


_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users




  
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to