Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Conversation

@Maxslide
Copy link
Contributor

@Maxslide Maxslide commented Mar 3, 2020

Fixes #168

Description
Changed the Padding and margin. Margin -> 0 px and padding -> 6%.

Other information
Made the padding to be precisely 6%, which causes exactly no overlap

Checklist:

  • My pull request has a descriptive title (not a vague title like Update index.md).
  • My pull request targets the master branch of the repository.
  • My commit messages follow best practices.
  • I added tests for the changes I made (if applicable).
  • I added or updated documentation (if applicable).
  • I tried running the project locally and verified that there are no
    visible errors.

Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

@Maxslide Maxslide requested a review from a team March 3, 2020 02:14
@Maxslide Maxslide requested a review from a team as a code owner March 3, 2020 02:14
@makkoncept
Copy link
Contributor

@Maxslide Please post a screenshot of the icons.

Copy link
Contributor

@makkoncept makkoncept left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue has not been resolved when I run this locally because you have made changes to the social media share icons which appear on the info popup.

@makkoncept
Copy link
Contributor

@Maxslide Can you please fix this soon. This is to be shipped with the new update.

@Maxslide
Copy link
Contributor Author

Maxslide commented Mar 3, 2020

I'll work on this, the changes need to be made to the filer and search icon right? I believe I have done that..I'll recheck

@makkoncept
Copy link
Contributor

Filter, search and cross icon.

@Maxslide
Copy link
Contributor Author

Maxslide commented Mar 3, 2020

I'll just check and try to update it as soon as possible

@Maxslide
Copy link
Contributor Author

Maxslide commented Mar 3, 2020

Hey, I did make change to the fa class but however on inspect element I don't see any change for the same, I have added the extension from the load unpacked option on Google chrome, is there any further steps I need to take to make sure the changes are reflected, that is for debugging do I need it do any other step?

@makkoncept
Copy link
Contributor

You are looking in the wrong file. The correct one is _search.scss

@Maxslide
Copy link
Contributor Author

Maxslide commented Mar 3, 2020

I did look into this file, i did not find any margin tag for the filter-icon or any other class, i know this is a super simple issue, but idk why i cant find any margin option for any of the buttons, i dont see from where they get the margin they do
I am looking under the .section_search.i in the _search.scss file

@makkoncept
Copy link
Contributor

@Maxslide Do the following change in _search.scss

Before

  i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: $color-secondary-light;

    &#filter-icon {
      right: 6%;
    }

    &.clear-search-button {
      color: #ff4e14;
      right: 12%;

      &:hover {
        color: #fb4102;
      }
    }
    &:hover {
      color: $color-secondary-dark;
      cursor: pointer;
    }
  }

After

  i {
    position: absolute;
    padding: 0;
    margin: 0;
    top: 50%;
    transform: translateY(-50%);
    color: $color-secondary-light;

    &#search-icon {
      right: 4%;
    }

    &#filter-icon {
      right: 10%;
    }

    &.clear-search-button {
      color: #ff4e14;
      right: 16%;

      &:hover {
        color: #fb4102;
      }
    }
    &:hover {
      color: $color-secondary-dark;
      cursor: pointer;
    }
  }
}

@makkoncept
Copy link
Contributor

It will work.
Screenshot from 2020-03-04 00-12-53
Screenshot from 2020-03-04 00-12-57

@Maxslide
Copy link
Contributor Author

Maxslide commented Mar 3, 2020

I did the exact same thing right now, but i see now changes in my extension, i even reloaded teh extension, all i need to do is save the code after my changes and reload teh extension adn view it right?

@makkoncept
Copy link
Contributor

makkoncept commented Mar 3, 2020

@Maxslide You have to build it again -> npm run dev

@Maxslide
Copy link
Contributor Author

Maxslide commented Mar 3, 2020

Screenshot from 2020-03-04 00-30-50
Screenshot from 2020-03-04 00-32-00

@Maxslide
Copy link
Contributor Author

Maxslide commented Mar 3, 2020

@Maxslide You have to build it again.

OHH! MY BAD!

@Maxslide
Copy link
Contributor Author

Maxslide commented Mar 3, 2020

I have made the changes, kindly review

@makkoncept makkoncept merged commit 3205e96 into cc-archive:master Mar 4, 2020
Comment on lines +29 to +31
&#search-margin {
right : 4%;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Maxslide This was not #search-margin but #search-icon. This was also mentioned in the comment above.
Nevermind, it has been fixed in 5ac81e6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Clicking on icons is not always precise.

2 participants