diff --git a/assets/sass/_theme/blocks/files.sass b/assets/sass/_theme/blocks/files.sass
index e78889fc593c1c2884cdbecdf5b366d9f02c4e10..305a37b68cc4622a91d7f45dad269361ca42f189 100644
--- a/assets/sass/_theme/blocks/files.sass
+++ b/assets/sass/_theme/blocks/files.sass
@@ -4,6 +4,10 @@
         list-style: none
         margin-bottom: 0
         padding-left: 0
+        @include in-page-with-aside
+            @include grid(2)
+        @include in-page-without-aside
+            @include grid(3)
     a
         align-items: center
         display: flex
@@ -26,11 +30,4 @@
                 background-color: rgba($main-border-color, .1)
                 border-color: transparent
         span span
-            font-size: $small-font-size
-
-    @include in-page-with-aside
-        ul
-            @include grid(2)
-    @include in-page-without-aside
-        ul
-            @include grid(3)
+            font-size: $small-font-size
\ No newline at end of file