Merge pull request #336 from adelq/responsive-layouts

Avoid using fixed width in CSS for layouts
tokarchuk/v1.17
无闻 10 years ago
commit 645c194a00
  1. 6
      public/css/gogs.css

@ -203,7 +203,7 @@ body {
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
} }
#login-card { #login-card {
width: 600px; max-width: 600px;
} }
#login-card .form-control { #login-card .form-control {
padding: 6px 12px; padding: 6px 12px;
@ -214,7 +214,7 @@ body {
line-height: 30px; line-height: 30px;
} }
#install-card { #install-card {
width: 800px; max-width: 800px;
} }
#install-card .form-group { #install-card .form-group {
margin-left: 0; margin-left: 0;
@ -324,7 +324,7 @@ body {
#org-create, #org-create,
#org-teams-create, #org-teams-create,
#org-teams-edit { #org-teams-edit {
width: 800px; max-width: 800px;
} }
#repo-create textarea[name=desc] { #repo-create textarea[name=desc] {
height: 8em; height: 8em;

Loading…
Cancel
Save