Giter Club home page Giter Club logo

Comments (5)

neberej avatar neberej commented on August 24, 2024 2

Hey, that was me. :)

Those three lines of code stretches the main content to full width but it also hides search bar (because search bar is in the sidebar).

We could replace the Twitter logo with the search box.

document.querySelector('h1[role="heading"]').append(document.querySelector('form[aria-label="Search Twitter"]'));

Final result:
image

from control-panel-for-twitter.

bellyrose avatar bellyrose commented on August 24, 2024

Is it possible to add this to the Addon manually? Would love to get rid of the empty space that's left behind by the right sidebar.

from control-panel-for-twitter.

insin avatar insin commented on August 24, 2024

The search doesn't work in the left hand menu (the dropdown goes under the nav menu and also causes a scrollbar to appear), what should we do with it, bearing in mind that the top bar can also optionally contain the shared tweets timeline and the sparkle menu (when the Home timeline is enabled)?

Right Searching
firefox_QP5AiPIzWG BdsvFv1dWd
Middle Searching
0PucXONUoR bldIR5350O

CSS for limiting media to its original size, so you can fit more tweets in, instead of fewer (and a debug outline):

[data-testid="primaryColumn"] [data-testid="tweet"] > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-last-of-type(2):not(:empty) {
  max-width: 600px;
  outline: 2px solid red;
}

from control-panel-for-twitter.

insin avatar insin commented on August 24, 2024

Also adding a li'l slider to let you control the width used:

HD0KBPOh8T

from control-panel-for-twitter.

insin avatar insin commented on August 24, 2024

Released in v2.9

from control-panel-for-twitter.

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.