Skip to content

Improve methods types styles #534

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/views/objects/show/_methods.html.slim
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
div class="md:px-3 my-3"
h3 class="lg:text-2xl text-lg text-gray-900 dark:text-gray-200 font-semibold mt-8"
= title
hr
hr class="mb-6"
- methods.each do |m|
div class="md:px-3 my-3"
a style="display: block; position: relative; top: -80px; visibility: hidden;" id="#{method_anchor m}"
div class="flex flex-wrap"
div class="w-full md:w-10/12"
a href="##{method_anchor(m)}"
- m.call_sequence.each do |seq|
h4 class="lg:text-2xl text-lg text-gray-900 dark:text-gray-200 font-semibold"= seq
h4 class="lg:text-xl text-lg text-gray-900 dark:text-gray-200 font-semibold"= seq

div class="flex md:justify-end w-full md:w-2/12 mt-3 md:mt-0 font-mono"
span class="px-2 h-6 inline-block rounded bg-gray-200 dark:bg-gray-700 algin-middle cursor-default" title="#{m.method_type.capitalize} Method"
Expand Down