<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Use styling for CRM Cards in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/954052#M38564</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/55480"&gt;@jonchim&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for you reply. Tried adding gap="flush" on Flex element but it just removes the vertical spacing between the Tiles elements, not the text blocks inside the Tile wrapper.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2024 15:04:17 GMT</pubDate>
    <dc:creator>Egoi</dc:creator>
    <dc:date>2024-04-03T15:04:17Z</dc:date>
    <item>
      <title>Use styling for CRM Cards</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/953252#M38545</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I have creatd a CRM Card using&amp;nbsp;&lt;SPAN&gt;ui-extensions, just using Flex, Tile and Text components as shown below:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;Flex direction={'column'} gap={'small'}&amp;gt;
    {
      deals.map(deal =&amp;gt; {
        return (
          &amp;lt;Tile flush={false} gap={'small'}&amp;gt;
            &amp;lt;Link href={`https://app.hubspot.com/contacts/45186210/deal/${deal.id}`}&amp;gt;{deal.properties.dealname}&amp;lt;/Link&amp;gt;
            &amp;lt;Text&amp;gt;Cantidad: {deal.properties.amount || "-"} €&amp;lt;/Text&amp;gt;
            &amp;lt;Text&amp;gt;Pipeline:  {pipelines[deal.properties.pipeline]}&amp;lt;/Text&amp;gt;
            &amp;lt;Text&amp;gt;Etapa: {pipelinesStages[deal.properties.dealstage]}&amp;lt;/Text&amp;gt;
          &amp;lt;/Tile&amp;gt;

        )
      })
    }
    &amp;lt;/Flex&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;I want to have the same appearance as HubSpot default look and feel as this one:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura de pantalla 2024-04-02 a las 13.47.22.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/114311iFBAE73658273645D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Captura de pantalla 2024-04-02 a las 13.47.22.png" alt="Captura de pantalla 2024-04-02 a las 13.47.22.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But using HubSpot ui components I keep experiencing padding and margin problems:&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura de pantalla 2024-04-02 a las 13.50.03.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/114312iC33FD949E00F7580/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Captura de pantalla 2024-04-02 a las 13.50.03.png" alt="Captura de pantalla 2024-04-02 a las 13.50.03.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tile component adds or removes padding when flush parameter is set to false or true, but I don't see a way to control the amount of padding.&lt;BR /&gt;&lt;BR /&gt;Text component adds a margin-bottom that I´m not able to remove.&lt;BR /&gt;&lt;BR /&gt;That should solve the styling.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 11:54:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/953252#M38545</guid>
      <dc:creator>Egoi</dc:creator>
      <dc:date>2024-04-02T11:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Use styling for CRM Cards</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/954032#M38562</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/122537"&gt;@Egoi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In your flex tag if you do gap="flush" that should fix the spacing between your &amp;lt;text&amp;gt; tags&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 14:41:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/954032#M38562</guid>
      <dc:creator>jonchim</dc:creator>
      <dc:date>2024-04-03T14:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Use styling for CRM Cards</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/954052#M38564</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/55480"&gt;@jonchim&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for you reply. Tried adding gap="flush" on Flex element but it just removes the vertical spacing between the Tiles elements, not the text blocks inside the Tile wrapper.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 15:04:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/954052#M38564</guid>
      <dc:creator>Egoi</dc:creator>
      <dc:date>2024-04-03T15:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Use styling for CRM Cards</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/954063#M38565</link>
      <description>&lt;P&gt;ahh got it,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/122537"&gt;@Egoi&lt;/a&gt;&amp;nbsp;you might be able to wrap another flex tag with the flush gap inside your tile tag&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;Tile flush={false} gap={"small"}&amp;gt;
    &amp;lt;Flex direction={"column"} gap={"flush"}&amp;gt;
            &amp;lt;Link href={`https://app.hubspot.com/contacts/45186210/deal/${deal.id}`}&amp;gt;{deal.properties.dealname}&amp;lt;/Link&amp;gt;
            &amp;lt;Text&amp;gt;Cantidad: {deal.properties.amount || "-"} €&amp;lt;/Text&amp;gt;
            &amp;lt;Text&amp;gt;Pipeline:  {pipelines[deal.properties.pipeline]}&amp;lt;/Text&amp;gt;
            &amp;lt;Text&amp;gt;Etapa: {pipelinesStages[deal.properties.dealstage]}&amp;lt;/Text&amp;gt;
     &amp;lt;/Flex&amp;gt;
    &amp;lt;/Tile&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-03 at 11.08.58 AM.png" style="width: 280px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/114419iC350456F30E5255C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-04-03 at 11.08.58 AM.png" alt="Screenshot 2024-04-03 at 11.08.58 AM.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 15:09:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/954063#M38565</guid>
      <dc:creator>jonchim</dc:creator>
      <dc:date>2024-04-03T15:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Use styling for CRM Cards</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/954078#M38566</link>
      <description>&lt;P&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;This worked like a charm to remove margin-bottom on Text elements. The only thing that I don't know how to do it, is removing the padding of the Tile. I don't seee any other component that could work, as Box component is behaving the same way.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 15:27:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/954078#M38566</guid>
      <dc:creator>Egoi</dc:creator>
      <dc:date>2024-04-03T15:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Use styling for CRM Cards</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/954104#M38568</link>
      <description>&lt;P&gt;no problem&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/122537"&gt;@Egoi&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;Unfortunately i'm not seeing anything that would remove that padding. I believe it's default from HubSpot. Does it have to live in a tile/box? Can you separate it with dividers?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 15:58:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/954104#M38568</guid>
      <dc:creator>jonchim</dc:creator>
      <dc:date>2024-04-03T15:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Use styling for CRM Cards</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/954164#M38570</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/55480"&gt;@jonchim&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure! I could use dividers but I wanted to give the same look and feel as native HubSpot cards. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 17:15:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/954164#M38570</guid>
      <dc:creator>Egoi</dc:creator>
      <dc:date>2024-04-03T17:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Use styling for CRM Cards</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/955502#M38590</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/122537"&gt;@Egoi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks so much for your feedback. Hot off the press: we just released a 'compact' prop in Tile to help you with more spacing control. &lt;A href="https://developers.hubspot.com/docs/platform/ui-extension-components#tile" target="_blank" rel="noopener"&gt;Here's the docs&lt;/A&gt;. Let me know if I can help in any other way / if you have more feedback &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 15:55:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/955502#M38590</guid>
      <dc:creator>aanchalsheth</dc:creator>
      <dc:date>2024-04-05T15:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Use styling for CRM Cards</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/955642#M38592</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/667171"&gt;@aanchalsheth&lt;/a&gt;!&lt;BR /&gt;&lt;BR /&gt;It looks better now, not exatcly as the native HubSpot card but closer. It would be nice if we could have the same spacing as the original HubSpot component &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;HubSpot card uses a 8px 12px padding while compact parameter adds 20px 20px to Tile component as seen in the image below. Let me know for any update! Thank you!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura de pantalla 2024-04-05 a las 21.01.13.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/114607i69C8A87F19C3BB92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Captura de pantalla 2024-04-05 a las 21.01.13.png" alt="Captura de pantalla 2024-04-05 a las 21.01.13.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 19:04:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Use-styling-for-CRM-Cards/m-p/955642#M38592</guid>
      <dc:creator>Egoi</dc:creator>
      <dc:date>2024-04-05T19:04:06Z</dc:date>
    </item>
  </channel>
</rss>

