Giter Site home page Giter Site logo

Comments (10)

MarkRH avatar MarkRH commented on May 29, 2024

Tried looking at it with the Developer Toolbox but the disable popup hide doesn't seem to work with the Searchbar Dropdown. Playing with the CSS, I know why it has a min-height and height of 180px because otherwise it chops the list off. Hmm.

from customcssforfx.

Aris-t2 avatar Aris-t2 commented on May 29, 2024

I've set a min-width for that area, but it causes what is visible on your screnshot.

Edit searchbar_popup_engines_show_labels.css and change the code to this:

#PopupSearchAutoComplete .search-panel-tree {
  min-height: auto !important;
  height: auto !important;
}

Will be fixed on next update.

from customcssforfx.

MarkRH avatar MarkRH commented on May 29, 2024

Hmm.. I put that code in and it looks like this now:

image

I'll wait for your update and see what happens then.

from customcssforfx.

Aris-t2 avatar Aris-t2 commented on May 29, 2024

Maybe your search engine list is too long?

from customcssforfx.

MarkRH avatar MarkRH commented on May 29, 2024

Looks like with the height set to auto, even adding 1 search engine to the defaults starts breaking it. The more engines I add, the more it squashes the terms list.
image
Fewer engines:
image

Oh well, just gonna stick it back to 180px and put the engines I want back in.

from customcssforfx.

Aris-t2 avatar Aris-t2 commented on May 29, 2024

I have a strange idea to catch all cases this popup result tree offers.

Replace previous code with this one (it works for me with 8 engines for example)

#PopupSearchAutoComplete .search-panel-tree[height="180"]:not([collapsed="true"]) {
  min-height: 180px !important;
}
#PopupSearchAutoComplete .search-panel-tree[height="162"]:not([collapsed="true"]) {
  min-height: 162px !important;
}
#PopupSearchAutoComplete .search-panel-tree[height="144"]:not([collapsed="true"]) {
  min-height: 144px !important;
}
#PopupSearchAutoComplete .search-panel-tree[height="126"]:not([collapsed="true"]) {
  min-height: 126px !important;
}
#PopupSearchAutoComplete .search-panel-tree[height="108"]:not([collapsed="true"]) {
  min-height: 108px !important;
}
#PopupSearchAutoComplete .search-panel-tree[height="90"]:not([collapsed="true"]) {
  min-height: 90px !important;
}
#PopupSearchAutoComplete .search-panel-tree[height="72"]:not([collapsed="true"]) {
  min-height: 72px !important;
}
#PopupSearchAutoComplete .search-panel-tree[height="54"]:not([collapsed="true"]) {
  min-height: 54px !important;
}
#PopupSearchAutoComplete .search-panel-tree[height="36"]:not([collapsed="true"]) {
  min-height: 36px !important;
}
#PopupSearchAutoComplete .search-panel-tree[height="18"]:not([collapsed="true"]) {
  min-height: 18px !important;
}

from customcssforfx.

B00ze64 avatar B00ze64 commented on May 29, 2024

You're going to have to catch a lot - I have 14 search engine choices myself. Maybe explain in comments in the CSS how to add additional heights so people can fix it when it breaks. I didn't know we could turn that horrible One-Click thing into something usable (e.g. with labels) - Glad I'm following this repo :-)

from customcssforfx.

Aris-t2 avatar Aris-t2 commented on May 29, 2024

Using this should not require any additional modifications. Result tree is 180px by default and can only shrink from there. I believe all cases are covered for now.

from customcssforfx.

MarkRH avatar MarkRH commented on May 29, 2024

Hey, this works with my current 13 search engines. It shortens the list as the entries go away. Cool. :)

Thanks!

from customcssforfx.

Aris-t2 avatar Aris-t2 commented on May 29, 2024

Good to hear.

Issue can not be closed.

Fix is in 1.3.0 release.

from customcssforfx.

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.