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

Payment_Methods restyling in grid style and list style for mobile #5

Closed
wants to merge 2 commits into from
Closed

Payment_Methods restyling in grid style and list style for mobile #5

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Apr 21, 2015

No description provided.

{foreach $methods as $method}
<p class="payment_module">
<p class="payment_module{if $counter == 1} payment_module_right {/if}">
Copy link
Contributor

Choose a reason for hiding this comment

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

Je kunt hier {cycle values=",payment_module_right"} gebruiken. http://www.smarty.net/docs/en/language.function.cycle.tpl

Copy link
Author

Choose a reason for hiding this comment

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

Prima zal ik morgen doen.
Op 21 apr. 2015 19:57 schreef "Lennard van Gunst" <notifications@github.com

:

In mollie/views/templates/hook/mollie_methods.tpl
#5 (comment):

{foreach $methods as $method}

Je kunt hier {cycle values=",payment_module_right"} gebruiken.
http://www.smarty.net/docs/en/language.function.cycle.tpl


Reply to this email directly or view it on GitHub
https://github.com/mollie/Prestashop/pull/5/files#r28804584.

@lvgunst
Copy link
Contributor

lvgunst commented Apr 22, 2015

Er zijn ook klanten die maar 1 Mollie betaalmethode gebruiken. Ziet dit er dan nog wel goed uit? Op een groot scherm gebruikt hij dan maar 50% width. Terwijl andere betaalmethodes (niet van Mollie) 100% width gebruiken.

@adriaanmol
Copy link
Member

is ’t geen kolom-view en dat hij automagisch naar 100% gaat?

On 22 Apr 2015, at 09:46, Lennard van Gunst notifications@github.com wrote:

Er zijn ook klanten die maar 1 Mollie betaalmethode gebruiken. Ziet dit er dan nog wel goed uit? Op een groot scherm gebruikt hij dan maar 50% width. Terwijl andere betaalmethodes (niet van Mollie) 100% width gebruiken.


Reply to this email directly or view it on GitHub #5 (comment).

@lvgunst
Copy link
Contributor

lvgunst commented Apr 22, 2015

Nee zie css. De styles worden alleen op Mollie betaalmethodes toegepast. Andere betaalmethodes zullen dus gewoon 100% width krijgen. Ik weet ook niet of dit makkelijker opgelost kan worden.

Je zou :only-of-type kunnen gebruiken: .mollie_methods p.payment_module:only-of-type { width: 100%; } https://css-tricks.com/almanac/selectors/o/only-of-type/

@ghost ghost closed this Apr 22, 2015
@ghost
Copy link
Author

ghost commented Apr 22, 2015

Lennard,

Ik heb de wijzigingen doorgevoerd.

De nieuwe PULL request staat klaar.

George.

From: Lennard van Gunst [mailto:notifications@github.com]
Sent: woensdag 22 april 2015 10:09
To: mollie/Prestashop
Cc: George van Engers
Subject: Re: [Prestashop] Payment_Methods restyling in grid style and list style for mobile (#5)

Nee zie css. De styles worden alleen op Mollie betaalmethodes toegepast. Andere betaalmethodes zullen dus gewoon 100% width krijgen. Ik weet ook niet of dit makkelijker opgelost kan worden.

Je zou :only-of-type kunnen gebruiken: .mollie_methods p.payment_module:only-of-type { width: 100%; } https://css-tricks.com/almanac/selectors/o/only-of-type/


Reply to this email directly or view it on GitHub #5 (comment) . https://github.com/notifications/beacon/ADrkE28AhXyd-aYdsOHFUv6_FLcokQaaks5oB06EgaJpZM4EFNuj.gif

This pull request was closed.
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.

None yet

3 participants