Skip to content

Commit b375a22

Browse files
BastienSozeaumattam82
authored andcommitted
Fix some css issues
1 parent 80709b9 commit b375a22

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/rocqproverorg_frontend/css/partials/buttons.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@layer components {
22
.btn {
3-
@apply rounded-full bg-primary border border-primary font-normal text-lg text-white whitespace-nowrap transition-colors inline-flex items-center justify-center space-x-3 dark:border-dark-primary dark:bg-dark-primary dark:text-dark-white;
3+
@apply rounded-full bg-primary border border-primary font-normal text-lg py-3 md:py-3 text-white lg:whitespace-nowrap transition-colors inline-flex items-center justify-center space-x-3 dark:border-dark-primary dark:bg-dark-primary dark:text-dark-white;
44
}
55

66
.btn {
7-
@apply px-7 h-11;
7+
@apply px-7 lg:h-11 h-auto;
88
}
99

1010
.btn-lg {

src/rocqproverorg_frontend/pages/install.eml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Layout.render
2626
<button x-on:click='operating_system = "<%s active_tab %>"' class="flex flex-auto justify-center py-4 text-sm border <%s class_ %>" :class='operating_system === "<%s active_tab %>" ? "bg-primary dark:bg-dark-primary text-white dark:text-dark-title border-primary dark:border-dark-primary" : "text-content dark:text-dark-separator_30 border-card_border dark:border-dark-separator_30"'><%s title %></button>
2727
% in
2828
<% render_multi_button ~title:"Linux" ~active_tab:"linux" ~class_:"rounded-l rounded-l-lg border-r-0"; %>
29-
<% render_multi_button ~title:"macOS" ~active_tab:"mac" ~class_:"rounded-r rounded-r-lg"; %>
29+
<% render_multi_button ~title:"macOS" ~active_tab:"mac" ~class_:"border-r-0"; %>
3030
<% render_multi_button ~title:"Windows" ~active_tab:"windows" ~class_:"rounded-r rounded-r-lg"; %>
3131
</div>
3232
</div>

src/rocqproverorg_frontend/pages/release.eml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Layout.render
2121
<a href="<%s! Data.Release.github_release release %>">
2222
<%s! Icons.github "h-5 w-5 inline-block" %>Github release</a>
2323
</div>
24-
<div class="flex flex-row gap-4 md:gap-6 md:w-80">
24+
<div class="flex flex-col lg:flex-row gap-4 md:gap-6 md:w-80">
2525
<%s! Hero_section.hero_button ~left_icon:(Icons.book "w-5 h-5") ~right_icon:(Icons.link "w-5 h-5") ~text:("Reference Manual") ~href:(Url.manual_with_version release.version) "" %>
2626
<%s! if release.kind = `Rocq then Hero_section.hero_button ~left_icon:(Icons.book "w-5 h-5") ~right_icon:(Icons.link "w-5 h-5") ~text:("Corelib Theories") ~href:(Url.corelib_with_version release.version) "" else "" %>
2727
<%s! Hero_section.hero_button ~left_icon:(Icons.book "w-5 h-5") ~right_icon:(Icons.link "w-5 h-5") ~text:("OCaml API") ~href:(Url.api_with_version release.version) "" %>

0 commit comments

Comments
 (0)