diff --git a/lib/osf-components/addon/components/search-page/styles.scss b/lib/osf-components/addon/components/search-page/styles.scss index 9b982e8980..91572e8501 100644 --- a/lib/osf-components/addon/components/search-page/styles.scss +++ b/lib/osf-components/addon/components/search-page/styles.scss @@ -213,6 +213,10 @@ body { // prevent overriding popover styling white-space: wrap; text-align: initial; + display: flex; + flex-direction: column; + justify-content: space-around; + margin-left: -0.2rem; a { font-weight: bold; @@ -222,11 +226,6 @@ body { .enumeration { float: left; } - - display: flex; - flex-direction: column; - justify-content: space-around; - margin-left: -0.2rem; h2 { font-weight: 400;