mozbrick / brick

UI Web Components for Modern Web Apps
http://mozbrick.github.io/
Other
2.97k stars 206 forks source link

Question? <x-slide></x-slide> internal scroll #47

Closed marti1125 closed 11 years ago

marti1125 commented 11 years ago

Could I add internal scroll using overflow: scroll ? and also I have tabs with different height.

ldoubleuz commented 11 years ago

Hi,

For your question regarding scroll, yes, you could do that, as x-slides can be styled just like any other native dom element.

As for your question regarding tabs, I'm not sure what you're trying to ask. Could you rephrase the question?

marti1125 commented 11 years ago

is for tab containers

ldoubleuz commented 11 years ago

Er, sorry, I'm afraid I don't understand what you are asking. What about the tab containers?

marti1125 commented 11 years ago

I am using this example - With (also dynamically assigned tab targets) http://mozilla.github.io/brick/demos/tabbar/index.html

scroll

in this slide I am loading all content via backbonejs

scroll2

ldoubleuz commented 11 years ago

Okay, and what would the issue be?

marti1125 commented 11 years ago

Sorry :( I correct my mistake

#tweets {
width:320px;
height:480px;
overflow: scroll;
}

is possible you add automatically scroll in when the content is big

ldoubleuz commented 11 years ago

Sounds like you want the behavior of overflow: auto, which you can apply to the slide like any other element.

marti1125 commented 11 years ago

yes :) thanks for you help me