-
Notifications
You must be signed in to change notification settings - Fork 166
Remove BassCSS flex-object styling #5702
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ | |
| <% if show_language_dropdown %> | ||
| <div class='tablet:display-none border-bottom border-primary-light'> | ||
| <div class='container cntnr-wide padding-y-1 padding-x-2 desktop:padding-x-0 h5'> | ||
| <div class='i18n-mobile-toggle flex flex-align-center flex-justify-center'> | ||
| <div class="i18n-mobile-toggle display-flex flex-align-center flex-justify-center"> | ||
| <button class='block text-decoration-none text-primary fs-13p language-mobile-button' aria-expanded='false'> | ||
| <%= image_tag asset_url('globe-blue.svg'), width: 12, | ||
| class: 'margin-right-1', alt: '', 'aria-hidden': 'true' %><%= t('i18n.language') %><span class='caret inline-block ml-tiny' aria-hidden='true'>▾</span> | ||
|
|
@@ -24,18 +24,18 @@ | |
| </div> | ||
| <% end %> | ||
| <div class='container padding-y-1 padding-x-2 desktop:padding-x-0 <%= 'tablet:padding-y-0' if show_language_dropdown %>'> | ||
| <div class='flex flex-align-center flex-justify-center'> | ||
| <div class='flex flex-auto flex-first'> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| <div class="display-flex flex-align-center flex-justify-center"> | ||
| <div class="display-flex flex-auto"> | ||
| <div class="tablet:display-none"> | ||
| <%= new_window_link_to 'https://gsa.gov', { class: 'flex flex-align-center flex-justify-center text-decoration-none text-white h6 margin-right-1 tablet:display-none', | ||
| <%= new_window_link_to 'https://gsa.gov', { class: 'display-flex flex-align-center flex-justify-center text-decoration-none text-white h6 margin-right-1 tablet:display-none', | ||
| 'aria-label': t('shared.footer_lite.gsa') } do %> | ||
| <%= image_tag asset_url('sp-logos/square-gsa-dark.svg'), | ||
| width: 20, alt: '' %> | ||
| <% end %> | ||
| </div> | ||
|
|
||
| <div class="display-none tablet:display-block"> | ||
| <%= new_window_link_to 'https://gsa.gov', { class: 'flex flex-align-center flex-justify-center text-decoration-none text-white h6 margin-right-1 usa-link--alt', | ||
| <%= new_window_link_to 'https://gsa.gov', { class: 'display-flex flex-align-center flex-justify-center text-decoration-none text-white h6 margin-right-1 usa-link--alt', | ||
| 'aria-label': t('shared.footer_lite.gsa') } do %> | ||
| <%= image_tag asset_url('sp-logos/square-gsa.svg'), | ||
| width: 20, class: 'margin-right-1', alt: '' %> | ||
|
|
@@ -45,10 +45,10 @@ | |
| <% end %> | ||
| </div> | ||
| </div> | ||
| <div class='flex flex-align-center flex-justify-center'> | ||
| <div class="display-flex flex-align-center flex-justify-center"> | ||
| <% if show_language_dropdown %> | ||
| <ul class='list-reset display-none tablet:display-block margin-bottom-0'> | ||
| <li class="i18n-desktop-toggle flex margin-y-1 margin-x-2 relative"> | ||
| <li class="i18n-desktop-toggle display-flex margin-y-1 margin-x-2 relative"> | ||
| <button class='text-white text-decoration-none border border-primary radius-lg padding-x-1 py-tiny language-desktop-button' aria-expanded='false'> | ||
| <%= image_tag asset_url('globe-white.svg'), width: 12, | ||
| class: 'margin-right-1', alt: '' %><%= t('i18n.language') %> | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Note: Not all BassCSS classes are included here, and in the case of
flex-column, I removed it from being disallowed. This is because these classes also exist as design system utilities. In most cases, the specific implementation is similar/identical, and the design system will take precedent.