Projet

Général

Profil

0001-scss-make-sure-layout-elements-don-t-grow-over-their.patch

Frédéric Péters, 18 septembre 2018 11:17

Télécharger (1,12 ko)

Voir les différences:

Subject: [PATCH] scss: make sure layout elements don't grow over their sizes
 (#26493)

 static/includes/_layout.scss | 3 +++
 1 file changed, 3 insertions(+)
static/includes/_layout.scss
97 97
		-ms-flex: 0 0 $sidebar-width;
98 98
		-webkit-flex: 0 0 $sidebar-width;
99 99
		flex: 0 0 $sidebar-width;
100
		max-width: $sidebar-width;
100 101
		@if $sidebar-position == right {
101 102
			-ms-flex-order: 1;
102 103
			-webkit-order: 1;
......
117 118
@media screen and (max-width: $mobile-limit) {
118 119
	#columns {
119 120
		padding: 0 1ex;
121
		max-width: 100%;
120 122
	}
121 123
	#right, #left {
122 124
		float: none;
......
131 133
			-ms-flex: 0 0 auto;
132 134
			-webkit-flex: 0 0 auto;
133 135
			flex: 0 0 auto;
136
			max-width: 100%;
134 137
			margin: 0 1ex;
135 138
			div.cell {
136 139
				margin-left: 0;
137
-