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

LHC-202 #83

Merged
merged 2 commits into from
Apr 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions theme/src/css/_zendesk-call-to-action.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,11 @@
.name {
display: flex;
}

@include media-breakpoint-down(sm) {
.message {
display: none;
}
}
}
}
4 changes: 2 additions & 2 deletions theme/src/js/components/CallToAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ActionItem = ({config}) => {

return (
<div class="action-item row">
<div class="col-4 name">
<div class="col-md-4 name">
{iconId && (
<svg class="lexicon-icon lexicon-icon-ticket icon" role="img">
<use xlinkHref={iconId} />
Expand All @@ -21,7 +21,7 @@ const ActionItem = ({config}) => {
</div>

{(disclaimer || message) && (
<div class="col-7 message">
<div class="col-md-7 message">
{message && (
<div class="secondary-text secondary-text-color">
{message}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`CallToAction renders correctly 1`] = `
class="action-item row"
>
<div
class="col-4 name"
class="col-md-4 name"
>

<a
Expand All @@ -29,7 +29,7 @@ exports[`CallToAction renders correctly 1`] = `
class="action-item row"
>
<div
class="col-4 name"
class="col-md-4 name"
>

<a
Expand Down Expand Up @@ -60,7 +60,7 @@ exports[`CallToAction renders with a message 1`] = `
class="action-item row"
>
<div
class="col-4 name"
class="col-md-4 name"
>

<a
Expand All @@ -71,7 +71,7 @@ exports[`CallToAction renders with a message 1`] = `
</a>
</div>
<div
class="col-7 message"
class="col-md-7 message"
>
<div
class="secondary-text secondary-text-color"
Expand Down Expand Up @@ -100,7 +100,7 @@ exports[`CallToAction renders with an icon 1`] = `
class="action-item row"
>
<div
class="col-4 name"
class="col-md-4 name"
>
<svg
class="lexicon-icon lexicon-icon-ticket icon"
Expand Down Expand Up @@ -138,7 +138,7 @@ exports[`CallToAction renders with class name 1`] = `
class="action-item row"
>
<div
class="col-4 name"
class="col-md-4 name"
>

<a
Expand All @@ -154,7 +154,7 @@ exports[`CallToAction renders with class name 1`] = `
class="action-item row"
>
<div
class="col-4 name"
class="col-md-4 name"
>

<a
Expand Down Expand Up @@ -185,7 +185,7 @@ exports[`CallToAction renders with disclaimer text 1`] = `
class="action-item row"
>
<div
class="col-4 name"
class="col-md-4 name"
>

<a
Expand All @@ -196,7 +196,7 @@ exports[`CallToAction renders with disclaimer text 1`] = `
</a>
</div>
<div
class="col-7 message"
class="col-md-7 message"
>

<div
Expand Down Expand Up @@ -232,7 +232,7 @@ exports[`CallToAction renders with promotions 1`] = `
class="action-item row"
>
<div
class="col-4 name"
class="col-md-4 name"
>

<a
Expand All @@ -248,7 +248,7 @@ exports[`CallToAction renders with promotions 1`] = `
class="action-item row"
>
<div
class="col-4 name"
class="col-md-4 name"
>

<a
Expand Down Expand Up @@ -336,7 +336,7 @@ exports[`CallToAction renders with promotions containing description 1`] = `
class="action-item row"
>
<div
class="col-4 name"
class="col-md-4 name"
>

<a
Expand All @@ -352,7 +352,7 @@ exports[`CallToAction renders with promotions containing description 1`] = `
class="action-item row"
>
<div
class="col-4 name"
class="col-md-4 name"
>

<a
Expand Down Expand Up @@ -421,7 +421,7 @@ exports[`CallToAction renders with section heading 1`] = `
class="action-item row"
>
<div
class="col-4 name"
class="col-md-4 name"
>

<a
Expand All @@ -437,7 +437,7 @@ exports[`CallToAction renders with section heading 1`] = `
class="action-item row"
>
<div
class="col-4 name"
class="col-md-4 name"
>

<a
Expand Down