Giter Club home page Giter Club logo

Comments (17)

PuruVJ avatar PuruVJ commented on August 23, 2024 1

OMG!!!! Thank you!!! please do make a PR 🤩🤩

from macos-preact.

PuruVJ avatar PuruVJ commented on August 23, 2024 1

Feel free to rename the classes

from macos-preact.

PuruVJ avatar PuruVJ commented on August 23, 2024 1

I have no idea which of these do what except for the red one. Use your judgement 😁

from macos-preact.

PuruVJ avatar PuruVJ commented on August 23, 2024 1

Hi. Sorry for the inconvenience. I just merged a PR which changes TrafficLights component a bit. Could you pls git pull it and fix the merge conflicts, if any

from macos-preact.

PuruVJ avatar PuruVJ commented on August 23, 2024 1

Oh wait, this lone svg is causing issues. This will not be scoped
image

from macos-preact.

Deep-Codes avatar Deep-Codes commented on August 23, 2024 1

Yeah this would solve it:

.container {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  height: 100%;

  &:hover .trafficLight svg {
    visibility: visible;
  }
}

.trafficLight svg {
  visibility: hidden;
}

from macos-preact.

PuruVJ avatar PuruVJ commented on August 23, 2024 1

Fixed in #66

from macos-preact.

Deep-Codes avatar Deep-Codes commented on August 23, 2024

https://github.com/PuruVJ/macos-web/blob/969df8a3223f5c012143fcd2e7a12b0c06621058/src/components/Desktop/Window/TrafficLights.tsx#L21

I believe here thougth they seem to be in order the naming is not correct:

      <ButtonBase className={css.closeLight} onClick={closeApp} />
      <ButtonBase className={css.stretchLight} />
      <ButtonBase className={css.minimizeLight} />

closeLight -> Red Button
stretchLight -> Green Button
minimizeLight -> Yellow Button

Tho in styles they are styled correctly

and yes i am working on a PR on it ⚡️.

from macos-preact.

Deep-Codes avatar Deep-Codes commented on August 23, 2024

Alright let me see 👀

from macos-preact.

Deep-Codes avatar Deep-Codes commented on August 23, 2024

@PuruVJ there's a problem

PR merged: It's hiding icons

arent styles scoped?

Screenshot 2021-04-16 at 12 22 20 AM

from macos-preact.

PuruVJ avatar PuruVJ commented on August 23, 2024

Yes it is hiding styles for me too

from macos-preact.

PuruVJ avatar PuruVJ commented on August 23, 2024

They are scoped if you use CSS modules

from macos-preact.

PuruVJ avatar PuruVJ commented on August 23, 2024

Huh, it is CSS modules, but it is still hiding. Strange

from macos-preact.

PuruVJ avatar PuruVJ commented on August 23, 2024

No issues, I'll scope it. No big deal :)

from macos-preact.

PuruVJ avatar PuruVJ commented on August 23, 2024

Fixed. Will be live soon

from macos-preact.

PuruVJ avatar PuruVJ commented on August 23, 2024

Hi, Can I ask you your Twitter handle?

from macos-preact.

Deep-Codes avatar Deep-Codes commented on August 23, 2024

Hi, Can I ask you your Twitter handle?

Yeah sure it's @DeepankarBhade

from macos-preact.

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.