-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bug/WP-50: Fix sizing of buttons "as-link" #986
Conversation
Because there were commits for this PR that did not belong here, I worked with Frank to correct this. This will need to be re-reviewed even though nothing has technically changed. |
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.
History link change looks good here, but this change does not address the bug directly - we are looking for any button of type='link' to have a font size of 16px, and this change will only reach this one button in the header of the History component.
I suggest taking a look at the _common Button component and how the style 'as-link' is applied to an instance of a <Button type='link' ... />
.
Let me know if I can help with making this change!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #986 +/- ##
=======================================
Coverage 73.04% 73.04%
=======================================
Files 532 532
Lines 33235 33235
Branches 2966 2966
=======================================
Hits 24276 24276
Misses 8764 8764
Partials 195 195
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
Some very minor change requests, but it looks good to me! Great work!
Removing commented-out code per Frank's recommendation Co-authored-by: fnets <fnetscher@tacc.utexas.edu>
Removing commented-out code per Frank's recommendation Co-authored-by: fnets <fnetscher@tacc.utexas.edu>
Removed commented-out code per Frank's recommendation Co-authored-by: fnets <fnetscher@tacc.utexas.edu>
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.
LGTM! Great work.
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.
LGTM!
Hi, Garrett! It looks like this is blocking the merge after Jacob and Frank approved the changes. |
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.
LGTM! Another instance of this is in Data Files, the 'View Full Path' button, and that is also correctly styled now.
.root.as-link { | ||
font-size: 1rem; | ||
} | ||
|
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.
.as-link
buttons.
Overview
There was a bug that caused the "as-link" buttons to appear smaller than other buttons (0.78 rem as opposed to 1 rem).
Related
Changes
After inspecting the as-link button in question, I navigated to the file that set the font-size to 0.78 rem and adjusted it to 1 rem.
Testing
UI
Notes
I created a Shared Workspace to test out the button re-sizing, and it works there, too.