-
Notifications
You must be signed in to change notification settings - Fork 3
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
Button enhancement #48
Button enhancement #48
Conversation
Codecov Report
@@ Coverage Diff @@
## master #48 +/- ##
===========================================
- Coverage 1.98% 1.98% -0.01%
Complexity 225 225
===========================================
Files 19 19
Lines 1413 1414 +1
===========================================
Hits 28 28
- Misses 1385 1386 +1
Continue to review full report at Codecov.
|
Seeing that the course mapping button does not submit a form, and is rather a link, it could look a bit more lightweight. Have a look at the screenshot below for an example (blue links in the top right corner): Here's similar code for reference: https://github.com/unirz-tu-ilmenau/moodle-block_opencast/pull/95/files#diff-ecf144e33d13e81a79f4124b4526e3e3R29 |
However, we are not in a page context here. We only have the space of a block. Would you suggest to place this blue lightweight link in the right top corner of the block? (I would vote against that) |
@rtschu If you make layout changes, it would be very nice to have a previous/after through screenshots. This way, the peer reviewer do not have to setup a working installation with dummy data, but can solely look at the code and the visual result. |
The former is exactly what I meant (as this kind of link is in the top right corner of other pages as well). I vote in favor of that because it corresponds to how things are displayed that are part of pages. |
Ok. We dicussed: Can you alter it to be a link as suggested by @Dagefoerde. It should however remain at the same position. |
Please see #52 (review). Also, is there an update on the placement of the link? |
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.
(see comments)
50ee479
to
ca9db9d
Compare
Exactly, but it would be nicer without the underline. You would achieve that by using the CSS classes that were used in the example code that I linked. |
ca9db9d
to
145ce9e
Compare
20ca251
to
6b19c16
Compare
6b19c16
to
b841a15
Compare
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.
You could remove the <div class="pl-1">
... </div>
(meaning padding-left: 1px
), as they are only useful if there is a sequence of links.
<div class="pl-1"> ... </div> (meaning padding-left: 1px), thus they are only useful if there is a sequence of links.
closes #45 #46