Jeremy Thomas 8 vuotta sitten
vanhempi
commit
d50724b3cf

+ 2 - 1
.github/PULL_REQUEST_TEMPLATE.md

@@ -1,4 +1,5 @@
 <!-- PLEASE READ THE FOLLOWING INSTRUCTIONS -->
 <!-- PLEASE READ THE FOLLOWING INSTRUCTIONS -->
+<!-- DO NOT REBUILD THE CSS OUTPUT IN YOUR PR -->
 
 
 ### Proposed solution
 ### Proposed solution
 <!-- Which specific problem does this PR solve and how?  -->
 <!-- Which specific problem does this PR solve and how?  -->
@@ -18,4 +19,4 @@
 <!-- 3. Make sure your Sass code is compliant with the [Bulma Sass styleguide](https://github.com/jgthms/bulma/blob/master/.github/CONTRIBUTING.md#bulma-sass-styleguide) -->
 <!-- 3. Make sure your Sass code is compliant with the [Bulma Sass styleguide](https://github.com/jgthms/bulma/blob/master/.github/CONTRIBUTING.md#bulma-sass-styleguide) -->
 <!-- 4. If your PR fixes an issue, reference that issue -->
 <!-- 4. If your PR fixes an issue, reference that issue -->
 <!-- 5. If your PR has lots of commits, **rebase** first -->
 <!-- 5. If your PR has lots of commits, **rebase** first -->
-<!-- 6. Run `npm run deploy` before submitting your PR -->
+<!-- 6. Your PR should only affect `.sass` and documentation files -->

+ 4 - 0
CHANGELOG.md

@@ -1,5 +1,9 @@
 # Bulma Changelog
 # Bulma Changelog
 
 
+## 0.4.1
+
+# Fix #568 max-width container
+
 ## 0.4.0
 ## 0.4.0
 
 
 * **Default font-size is 16px**
 * **Default font-size is 16px**

+ 3 - 0
css/bulma.css

@@ -2768,6 +2768,7 @@ input[type="submit"].button {
 @media screen and (min-width: 1000px) {
 @media screen and (min-width: 1000px) {
   .container {
   .container {
     margin: 0 auto;
     margin: 0 auto;
+    max-width: 960px;
     width: 960px;
     width: 960px;
   }
   }
   .container.is-fluid {
   .container.is-fluid {
@@ -2779,12 +2780,14 @@ input[type="submit"].button {
 
 
 @media screen and (min-width: 1192px) {
 @media screen and (min-width: 1192px) {
   .container {
   .container {
+    max-width: 1152px;
     width: 1152px;
     width: 1152px;
   }
   }
 }
 }
 
 
 @media screen and (min-width: 1384px) {
 @media screen and (min-width: 1384px) {
   .container {
   .container {
+    max-width: 1344px;
     width: 1344px;
     width: 1344px;
   }
   }
 }
 }

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
css/bulma.css.map


+ 3 - 0
docs/css/bulma-docs.css

@@ -2768,6 +2768,7 @@ input[type="submit"].button {
 @media screen and (min-width: 1000px) {
 @media screen and (min-width: 1000px) {
   .container {
   .container {
     margin: 0 auto;
     margin: 0 auto;
+    max-width: 960px;
     width: 960px;
     width: 960px;
   }
   }
   .container.is-fluid {
   .container.is-fluid {
@@ -2779,12 +2780,14 @@ input[type="submit"].button {
 
 
 @media screen and (min-width: 1192px) {
 @media screen and (min-width: 1192px) {
   .container {
   .container {
+    max-width: 1152px;
     width: 1152px;
     width: 1152px;
   }
   }
 }
 }
 
 
 @media screen and (min-width: 1384px) {
 @media screen and (min-width: 1384px) {
   .container {
   .container {
+    max-width: 1344px;
     width: 1344px;
     width: 1344px;
   }
   }
 }
 }

+ 3 - 0
sass/elements/other.sass

@@ -5,6 +5,7 @@
   position: relative
   position: relative
   +desktop
   +desktop
     margin: 0 auto
     margin: 0 auto
+    max-width: $desktop - 40px
     width: $desktop - 40px
     width: $desktop - 40px
     // Modifiers
     // Modifiers
     &.is-fluid
     &.is-fluid
@@ -12,8 +13,10 @@
       max-width: none
       max-width: none
       width: auto
       width: auto
   +widescreen
   +widescreen
+    max-width: $widescreen - 40px
     width: $widescreen - 40px
     width: $widescreen - 40px
   +fullhd
   +fullhd
+    max-width: $fullhd - 40px
     width: $fullhd - 40px
     width: $fullhd - 40px
 
 
 .delete
 .delete

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä