Giter Site home page Giter Site logo

Layout can be borked about annotabe HOT 17 CLOSED

manishearth avatar manishearth commented on May 24, 2024
Layout can be borked

from annotabe.

Comments (17)

mathvav avatar mathvav commented on May 24, 2024

Whoops, that being overlooked is my fault. Is the issue in the popups, list, or both?

from annotabe.

Manishearth avatar Manishearth commented on May 24, 2024

No, in the popup. My fault. Why would I call you a dummy? :P

from annotabe.

mathvav avatar mathvav commented on May 24, 2024

@Manishearth I just saw that in my inbox and was confused at first (although penguins can be silly sometimes). But yeah, I should've noticed this, too. I'm working on a fix now...

from annotabe.

Manishearth avatar Manishearth commented on May 24, 2024

\o/ thanks

from annotabe.

mathvav avatar mathvav commented on May 24, 2024

Wow that reply was faster than my Notepad++ update!

Anyway... working on it, but the checkbox is being a pain. The buttons look great formatted, but the checkbox is either minimum width (to fit its contents) OR it is 60 px too wide.

I put in a fixed width, but that defeats the whole purpose of a table! Plus, it still is about 1 px too high...

For the work in progress, I created a commit for until I figure out how to fix this: https://github.com/Annonomus-Penguin/AnnoTabe/commit/b3d2ea0700b1702c6386826447a08d5ca44a4357

from annotabe.

Manishearth avatar Manishearth commented on May 24, 2024

Hah. These days I usually jump to Github notifications.

That checkbox was annoying in the past. Not sure how to fix that :/

from annotabe.

mathvav avatar mathvav commented on May 24, 2024

I'd change the label to a div if I knew a click anywhere would act as a click on the checkbox... I might have to make some JS solution. Does that sound to hackety to you?

from annotabe.

Manishearth avatar Manishearth commented on May 24, 2024

Meh, hackety is okay :p

from annotabe.

mathvav avatar mathvav commented on May 24, 2024

Okay, will work on it.... sorry for the emails you must be getting hehe 😄

from annotabe.

Manishearth avatar Manishearth commented on May 24, 2024

No probs, thanks for working on this :D

from annotabe.

mathvav avatar mathvav commented on May 24, 2024

Sigh... I hate Chrome sometimes.

Refused to execute inline event handler because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.

The div didn't work but a button did... and then Chrome betrayed me :p

from annotabe.

Manishearth avatar Manishearth commented on May 24, 2024

You need to register the handler in popup.js or something.

from annotabe.

mathvav avatar mathvav commented on May 24, 2024

I realize that now... I don't work in extensions that often.

from annotabe.

Manishearth avatar Manishearth commented on May 24, 2024

Hah. Neither do I, I just keep googling things (this particular annoyance I remembered since it crops up often)

from annotabe.

mathvav avatar mathvav commented on May 24, 2024

OMG it actually worked! Yay! That's a first haha

Yeah: development time - 90% on Google, 10% coding (and 95% of my time is spent doing two or three lines)

This should work: https://github.com/Annonomus-Penguin/AnnoTabe/commit/11868c9330999f5295563c67e151ce3f060782c4

from annotabe.

Manishearth avatar Manishearth commented on May 24, 2024

Alrighty! I can't test it right now, I'm writing a term paper and shouldn't start poking programs lest I get sucked in, so .... ;P

(just PR and I'll have a look tomorrow -- bug me if I don't get to it)

from annotabe.

mathvav avatar mathvav commented on May 24, 2024

No problem there, I get sucked in too. Pull request above when you get time, no hurry of course.

from annotabe.

Related Issues (7)

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.