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

Layout changes to listing and tx (enquiry) page #988

Merged
merged 4 commits into from
Dec 31, 2018
Merged

Conversation

lyyder
Copy link
Contributor

@lyyder lyyder commented Dec 27, 2018

  • 3 baselines between the listing title and the Price per night on TX page (enquiry), it was 4.
  • 8 baselines between the Price per night and the “Start date”, it was 10.
  • 8 baselines between the Date’s line and the Booking breakdown, it was 9.

Apply design baseline definitions on BookingDatesForm, BookingPanel and
ListingPage.
@@ -89,6 +90,7 @@ const BookingPanel = props => {
: 'BookingPanel.perUnit';

const classes = classNames(rootClassName || css.root, className);
const titleClasses = classNames(css.bookingTitle, titleClassName);
Copy link
Contributor

@Gnito Gnito Dec 31, 2018

Choose a reason for hiding this comment

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

This just creates a string
<h2 class="BookingPanel__bookingTitle_asdfasd TransactionPanel__bookingTitle_werwee">
Which means that both styles come from main.bundle.css and the import order might change the overriding rules.

maybe change this toclassNames(titleClassName || css.bookingTitle)

Copy link
Contributor

@Gnito Gnito Dec 31, 2018

Choose a reason for hiding this comment

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

Plus override all the style rules.

Copy link
Contributor

@Gnito Gnito left a comment

Choose a reason for hiding this comment

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

Just one comment.

Fix the title class overriding so that the css load order does not
affext the styles. Also removes a redundant media query definition.
@lyyder lyyder merged commit 5831cb7 into master Dec 31, 2018
@lyyder lyyder deleted the enquiry-to-tx-ui branch December 31, 2018 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants