-
Notifications
You must be signed in to change notification settings - Fork 31
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the requirement for adding the extra class to make this bold instead of using the b
tag?
Personally, I prefer the Drupal solution over what I created. My solution is a bit brittle so I'd be okay with deleting the ma__press__location-label
Markup and CSS in favor of just adding the content within the first paragraph of the RTE block. Having it as part of the RTE block was my original solution, because it was simple and elegant.
text-transform: uppercase; | ||
font-weight: bold; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
font-weight should be part of a theme CSS file not part of the base CSS file (ie: /06-theme/04-templates/_press.scss file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did I add this correctly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes that looks good
@legostud I didn't fully understand your original change request - was it just to move the style rule into the theme scss or was there something else that you thought needed to be addressed here? |
@legostud -- @gleroux02 suggested I use a |
This PR doesn't appear to solve any issues so I'm confused as to what's the goal with making this change? The |
I feel like we're missing something. Maybe there is actually more work that needs to be done in Mayflower to match the approach that Mass Gov is using. |
After talking with Jes, I better understand the desired outcome here. I would suggest removing all the code for the What we're doing is adding a 'flame' option to the Rich Text pattern in Mayflower that you can leverage for your current solution. |
@@ -1,4 +1,9 @@ | |||
.ma__rich-text { | |||
|
|||
&__flame { | |||
font-weight: bold; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in the 'theme' file for rich-text. Otherwise this looks really good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the font-weight: bold that is
Description
I reworked the Dateline for the Drupal side. FYI -- I kept the
<p>
tag for current PL structure, but we will not be using this pattern on the Drupal end. (On the Drupal end, we're separating everything out and adding the Dateline, and reassembling programmatically.)Related Issue / Ticket
Steps to Test
Screenshots
Additional Notes:
Anything else to add?
Impacted Areas in Application
@todo
Today I learned...