Coder Social home page Coder Social logo

Comments (6)

nanjiangshu avatar nanjiangshu commented on June 9, 2024

Hi @e0, @mihai-sysbio and @inghylt ,

I find that the problem with the messy sizing of the button is caused by the setting of is-fullwidth at line https://github.com/MetabolicAtlas/MetabolicAtlas/blob/develop/frontend/src/components/explorer/gemBrowser/Gene.vue#L48 (the same for Metabolite.vue and others).

One quick solution is to set the font size of this button to is-small but then the font size of Interaction Partners are different from the rest in this div

Another solution is set a min-width for the section. However, after set the min-width by e.g.

<div style="min-width:20%" class="column is-2-widescreen is-3-desktop is-full-tablet has-text-centered">

This section tends to be moved to the next line when one increase the width of the browser window. Is there a way to force bulma colum to place all columns in the same line?

from metabolicatlas.

mihai-sysbio avatar mihai-sysbio commented on June 9, 2024

How about is-3-widescreen for this <div> and is-9-widescreen for the previous one?

from metabolicatlas.

nanjiangshu avatar nanjiangshu commented on June 9, 2024

This seems do the trick! I will test it on Chrome and Safari to see if it works there as well.

from metabolicatlas.

e0 avatar e0 commented on June 9, 2024

@nanjiangshu Please make sure to test this on the metabolite pages that include a ChEBI image as well.

from metabolicatlas.

nanjiangshu avatar nanjiangshu commented on June 9, 2024

Great point @e0! I've already tested and added an example in the pull request #593 description.

from metabolicatlas.

e0 avatar e0 commented on June 9, 2024

Great point @e0! I've already tested and added an example in the pull request #593 description.

Nice, sorry that I forgot about it.

from metabolicatlas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.