Giter Club home page Giter Club logo

Comments (5)

mvergez avatar mvergez commented on June 20, 2024

Bonjour,

J'ai fait quelques tests et rendre le widget adaptable en largeur en fonction du contenu me parait compliqué. Ce widget est un ng-select est cela ne me semble pas trop possible : ng-select/ng-select#953

Néanmoins, dans GeoNature, les champs additionnels sont affichés ligne par ligne, donc on pourrait augmenter la largeur de base du widget à 50% par exemple pour qu'il soit tout le temps plus large :
image

Et ce uniquement dans occtax en ajoutant le code suivant :

pnx-dynamic-form-generator {
  min-width: 50%;
}

ici : https://github.com/PnX-SI/GeoNature/blob/master/contrib/occtax/frontend/app/occtax-form/counting/counting.component.scss

Ou éventuellement rendre cette largeur paramétrable dans l'interface admin, à voir si c'est faisable...

Bonne soirée

from geonature.

jbrieuclp avatar jbrieuclp commented on June 20, 2024

J'ai proposé cette PR #2425 il ya peu pour permettre le multi ligne avec ng-select.

from geonature.

camillemonchicourt avatar camillemonchicourt commented on June 20, 2024

Oui le multiligne est la solution la plus pertinente à mon avis.

from geonature.

ci-ana avatar ci-ana commented on June 20, 2024

Merci pour vos réponses !

from geonature.

camillemonchicourt avatar camillemonchicourt commented on June 20, 2024

Problème non réglé, je ré-ouvre le ticket.

from geonature.

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.