Code Monkey home page Code Monkey logo

Comments (9)

black7375 avatar black7375 commented on May 12, 2024 1

It looks a bit wide in English.

Before - After
image
image


This does not mean that there is no other way.
We can also set it up differently by language.
image

/* Sample Code */
:root[lang="de-DE"] #appMenu-popup panelview {
  width: 30em !important; /* can modify panel width, original: 22.5em */
}

from firefox-ui-fix.

SimYunSup avatar SimYunSup commented on May 12, 2024 1

Proton have translation cut off problem in another language too. So, I suggest width: 25em because I think it's reasonable in many language including English.
image

/* Panel View */
:root #appMenu-popup panelview {
  width: 25em !important; /* can modify panel width, original: 22.5em */
}

Can I make pull request of this?

from firefox-ui-fix.

SimYunSup avatar SimYunSup commented on May 12, 2024

grafik
This bug works on Windows/SystemDefault, too.

from firefox-ui-fix.

black7375 avatar black7375 commented on May 12, 2024

It seems to be a problem with the length.
Text truncation is also an issue that needs to be solved, but it's not as serious a bug as a misaligned layout.

We need to check of Photon behavior later.
They are similar in size, so maybe there is a solution.

from firefox-ui-fix.

SimYunSup avatar SimYunSup commented on May 12, 2024

This panel on Lepton should set wide width because toolItem is too fit to add icon. So, It needs to modify width of the panel.

  #appMenu-popup panelview {
    width: 30em !important; /* can modify panel width, original: 22.5em */
  }

from firefox-ui-fix.

terr72 avatar terr72 commented on May 12, 2024

The german language string set by Firefox is de only (checked for both Linux and Windows).
Also 23em is sufficient (at least for Linux, not tested with Windows).
This will not only be a cure for german, I suspect a few other languages with longer words are affected by this.

/* Sample Code */
:root[lang="de"] #appMenu-popup panelview {
  width: 23em !important; /* can modify panel width, original: 22.5em */
}

from firefox-ui-fix.

black7375 avatar black7375 commented on May 12, 2024

@SimYunSup LGTM
If you open the PR, I'll merge it.

from firefox-ui-fix.

black7375 avatar black7375 commented on May 12, 2024

Once we adjusted the default panel size.

from firefox-ui-fix.

black7375 avatar black7375 commented on May 12, 2024

This issue goes to the wiki.
https://github.com/black7375/Firefox-UI-Fix/wiki/Compatibility-Issues-Solution#panel-text-cut-off-in-some-language

from firefox-ui-fix.

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.