File tree Expand file tree Collapse file tree 3 files changed +24
-2
lines changed
java/ru/mystamps/web/feature/site Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public final class ResourceUrl {
32
32
public static final String STATIC_RESOURCES_URL = "https://stamps.filezz.ru" ;
33
33
34
34
// MUST be updated when any of our resources were modified
35
- public static final String RESOURCES_VERSION = "v0.4.5.5 " ;
35
+ public static final String RESOURCES_VERSION = "v0.4.5.6 " ;
36
36
37
37
// CheckStyle: ignore LineLength for next 17 lines
38
38
private static final String CATALOG_UTILS_JS = "/public/js/" + RESOURCES_VERSION + "/CatalogUtils.min.js" ;
Original file line number Diff line number Diff line change @@ -151,3 +151,25 @@ label {
151
151
height : 200px ;
152
152
padding : 0 ;
153
153
}
154
+
155
+ @media (min-width : 384px ) { /* Extra Small devices (our custom) */
156
+ .countries-list {
157
+ column-count : 2 ;
158
+ }
159
+ }
160
+ /* Media queries use values from Bootstrap (https://getbootstrap.com/docs/3.4/css/#grid-media-queries) */
161
+ @media (min-width : 768px ) { /* Small devices */
162
+ .countries-list {
163
+ column-count : 3 ;
164
+ }
165
+ }
166
+ @media (min-width : 992px ) { /* Medium devices */
167
+ .countries-list {
168
+ column-count : 4 ;
169
+ }
170
+ }
171
+ @media (min-width : 1200px ) { /* Large devices */
172
+ .countries-list {
173
+ column-count : 5 ;
174
+ }
175
+ }
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ <h3 th:text="${#strings.capitalize(country_list)}">
73
73
</ a >
74
74
</ div >
75
75
76
- < ul th:if ="${not #lists.isEmpty(countries)} ">
76
+ < ul th:if ="${not #lists.isEmpty(countries)} " class =" countries-list " >
77
77
< li th:each ="country : ${countries} ">
78
78
< a href ="../country/info.html " th:href ="@{${INFO_COUNTRY_PAGE}(slug=${country.slug})} " th:text ="${country.name} "> Italy</ a >
79
79
</ li >
You can’t perform that action at this time.
0 commit comments