Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
birger
users
Commits
14400c79
Commit
14400c79
authored
May 28, 2020
by
o@immerda.ch
Browse files
small layout fixes for mobile
viewport is too wide and checkbox is almost invisible
parent
dafd0ad6
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/views/layouts/application.html.erb
View file @
14400c79
...
...
@@ -15,12 +15,12 @@
<body>
<%=
javascript_include_tag
'/ipick.js'
%>
<div
class=
"container
px-0
"
>
<div
class=
"container"
>
<%
if
current_user
&&
!
signup?
%>
<%
# small devices: collabsible navbar at the top
%>
<span
class=
"d-block d-md-none"
>
<nav
class=
"navbar navbar-expand-lg navbar-light"
>
<nav
class=
"navbar navbar-expand-lg navbar-light
px-0
"
>
<%=
render
"menu"
%>
</nav>
</span>
...
...
app/views/recovery_email/show.html.erb
View file @
14400c79
...
...
@@ -20,11 +20,12 @@
</div>
<%
if
mail_crypt_enabled?
%>
<div
class=
"form-check"
>
<input
type=
"checkbox"
id=
"email_recovery_token"
name=
"email_recovery_token"
<%=
if
@email_recovery_token
then
'checked="checked"'
else
''
end
%>
/>
<%=
label_tag
(
:email_recovery_token
,
(
t
:backup_recovery_token_email
),
class:
"form-check-label"
)
%>
<div
class=
"form-group"
>
<div
class=
"custom-control custom-checkbox"
>
<input
class=
"custom-control-input"
type=
"checkbox"
id=
"email_recovery_token"
name=
"email_recovery_token"
<%=
if
@email_recovery_token
then
'checked="checked"'
else
''
end
%>
/>
<%=
label_tag
(
:email_recovery_token
,
(
t
:backup_recovery_token_email
),
class:
"custom-control-label"
)
%>
</div>
<div
class=
"pt-3"
>
</div>
</div>
<%
end
%>
<div
class=
"form-group"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment