by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Josh Duff
@TehShrike
@silentworks how goes the app?
Andrew Smith
@silentworks
@TehShrike I am at the point of giving up
Josh Duff
@TehShrike
@silentworks whyzat? let me help
Dexter
@neoel
@TehShrike I've got some issues with styling the uiview element, chrome has issues i think in combination with flexbox. Do you have any pointers on styling the elemen?
Josh Duff
@TehShrike
I've never actually tried styling the element directly, that seems like it might have some weird cases. What view renderer are you using?
I'd lean towards <MyStylingComponent><ui-view></ui-view></MyStylingComponent> or <div class="my-child"><ui-view></ui-view></div>
I would only ever consider the ui-view element a dumb placeholder for abstract-state-router, I wouldn't attach any semantic or stylistic meaning to it
Dexter
@neoel
Hmm, lemme try that.
I'm styling the element directly now,
Dexter
@neoel
I've got it a bit better now, but on firefox the elements don't flow properly still...
Josh Duff
@TehShrike
have an example? Also, what templating library are you using - Svelte, Ractive?
Dexter
@neoel
Svelte, don't have an example at hand, will create one tonight (if i get to it).
Josh Duff
@TehShrike
Are you wrapping the ui-view element in a styling element?
Dexter
@neoel
I've got a div around it if that's what you mean? I've got global styling styling that div now.
Dexter
@neoel
I think i've got it working now, making the uiview absolute in a flowing element.
Josh Duff
@TehShrike
What styles are you applying?
Is display: flow the main thing?
Yury Zhuravlev
@stalkerg
yep, it's too silent here
Josh Duff
@TehShrike
aye.
Pat Cavit
@tivac
Using svelte, anyone have an example of passing a route param to a component?
Looks like maybe an activate method?
Josh Duff
@TehShrike
I usually do that in the resolve function just so it's there on the first render
The second argument to the resolve function is the route params
Unrelated: there is an even cooler abstract-state-router chat room over on Discord now: https://discord.gg/G8FrErC
Pat Cavit
@tivac
ffffffffffffff