Comments (6)
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.
How about is-3-widescreen
for this <div>
and is-9-widescreen
for the previous one?
from metabolicatlas.
This seems do the trick! I will test it on Chrome and Safari to see if it works there as well.
from metabolicatlas.
@nanjiangshu Please make sure to test this on the metabolite pages that include a ChEBI image as well.
from metabolicatlas.
Great point @e0! I've already tested and added an example in the pull request #593 description.
from metabolicatlas.
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)
- Automatically run end to end tests when creating pull requests on GitHub
- Improve quality of service HOT 2
- UptimeRobot downtime incident HOT 1
- Integrate and test dependabot updates HOT 1
- deploy to production HOT 1
- 3.4 release
- 2D MapViewer in fullscreen has black background
- Migrate from DC Bitwarden
- Fullscreen functionality for interaction partners
- Invisible nodes in 3d viewer
- clarify purpose of tsv export in GotEnzymes
- User may visit earlier versions of integrated models that are deployed previously
- broken expansion of Interaction Partners
- old nginx image
- wrong text on identifier/MetabolicAtlas pages creates circular reference
- Bug identified for GotEnzymes website
- browserstack via gh action
- duplicated requests
- URL or DNS bug
- Change the list order and default GEM selected for the search function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metabolicatlas.