Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert glamorous to styled-components #5 #922

Merged
merged 8 commits into from
Sep 7, 2018

Conversation

swaterkamp
Copy link
Member

Contributes to #643

@swaterkamp swaterkamp self-assigned this Sep 7, 2018
@codecov
Copy link

codecov bot commented Sep 7, 2018

Codecov Report

Merging #922 into master will decrease coverage by 0.01%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #922      +/-   ##
=========================================
- Coverage    7.39%   7.38%   -0.02%     
=========================================
  Files         826     826              
  Lines       26857   26862       +5     
  Branches     5728    5700      -28     
=========================================
- Hits         1986    1983       -3     
- Misses      22434   22440       +6     
- Partials     2437    2439       +2
Impacted Files Coverage Δ
gsa/src/web/components/panel/infopanel.js 0% <ø> (ø) ⬆️
gsa/src/web/components/form/field.js 0% <0%> (ø) ⬆️
gsa/src/web/components/form/textarea.js 0% <0%> (ø) ⬆️
gsa/src/web/components/form/formgroup.js 0% <0%> (ø) ⬆️
gsa/src/web/pages/reports/emptyresultsreport.js 0% <0%> (ø) ⬆️
gsa/src/web/components/form/timezoneselect.js 0% <0%> (ø) ⬆️
gsa/src/web/components/form/multiselect.js 87.32% <100%> (ø) ⬆️
gsa/src/web/components/form/selectelements.js 87.8% <90.47%> (-0.44%) ⬇️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0c4f2fc...1d3f862. Read the comment docs.

@@ -35,6 +35,8 @@ import Layout from 'web/components/layout/layout';
const Panel = styled(Layout)`
background-color: ${Theme.white};
border: 1px solid ${Theme.lightBlue};
margin-top: 5px;

Copy link
Contributor

Choose a reason for hiding this comment

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

Could you remove the empty line?

When using TimeZoneSelect within a Formgroup together with withLayout(), 
margins get crazy. For the cost of automatic width adoption (now fixed 
to 230px, based on the longest string of options) overlapping of 
TimeZoneSelect with the title of FormGroup is prevented.
Change top and bottom padding from 1px to 4px
@swaterkamp swaterkamp force-pushed the glamorous2styledcomponents branch from 3a66305 to 1d3f862 Compare September 7, 2018 12:01
@swaterkamp swaterkamp merged commit 2ba01f2 into greenbone:master Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants