No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Tags
    3. layout
    Log in to post
    • A

      Use my own css
      Help • css layout styling • • acros

      5
      0
      Votes
      5
      Posts
      1807
      Views

      T

      @acros

      You can see what becomes of q-layout in chrome inspector.

      Screen Shot 2020-11-09 at 16.19.17.png

      If you use q-layout (you are using Quasar) you will have to put elements inside it which are compatible with q-layout. It only make sense that way.

      As you found out a single un-styled div isn’t compatible. While it isn’t impossible to make it compatible … you will likely going to rebuild q-headerin the process. And this extra work you are doing for what ?

      So the options are

      a, Style your custom component so it is compatible with q-layout.
      b, Create your own layout and not use q-layout. I think you will miss out on a lot. q-drawer to start with. Unless of course you make your layout compatible with q-drawer.
      c, the best IMO is to use q-layout with the already provided compatible elements after all why reinvent the wheel.

    • Y

      Adding CSS Grid classes to Quasar
      Useful Tips (NEW) • css grid layout quasar sass • • yolosan

      1
      1
      Votes
      1
      Posts
      424
      Views

      No one has replied

    • W

      How to remove the left area of a QLayout?
      Help • drawer layout • • wpq

      17
      0
      Votes
      17
      Posts
      758
      Views

      W

      @dobbel : yes, thanks. I actually restarted from the bootstrapped skeleton keeping the structure. It will help in future apps to be consistent.

    • F

      [Solved] How to dynamically change layout in router base on platform
      Framework • layout route.js • • folami

      8
      0
      Votes
      8
      Posts
      1562
      Views

      F

      @tof06 Sorry for late response, it works thanks so much

    • R

      Max-width for page layout
      Framework • layout width • • romych2004

      2
      0
      Votes
      2
      Posts
      2946
      Views

      asceta hedonista

      Try with this https://quasar.dev/layout/grid/flex-playground

    • F

      Opening QCollapsible when a route is matched to one of its items.
      Framework • layout q-collapsible vue-router • • fbmelarpis

      3
      0
      Votes
      3
      Posts
      1009
      Views

      F

      I got it working using events and wrapping <q-side-link> to emit an event when exactActiveClass is present.

      <!-- link.group is a unique string --> <q-collapsible :ref="link.group" v-if="link.isCollapsible" v-bind="link"> <sidebar-navigation-item item exact v-for="sublink in link.sublinks" v-bind="sublink" :parent-ref="link.group" @active="openActiveCollapsible" /> </q-collapsible> ... methods: { openActiveCollapsible(ref) { this.$refs[ref][0].open() } } // in <sidebar-navigation-item> mounted() { if (this.$el.classList.contains(this.exactActiveClass)) { this.$emit('active', this.parentRef); } }