语义UI反应 - 搜索:在搜索组件上方显示结果?

时间:2018-02-12 13:24:08

标签: reactjs semantic-ui

我在页面底部有搜索组件。 SPA,没有滚动。是否可以将搜索结果移到搜索控件上方?

修改 Rishat,请看一下(只有一个半结果可见): Search results - screenshot

请在此处找到搜索代码: https://stackblitz.com/edit/react-hsqdtb

1 个答案:

答案 0 :(得分:0)

非常感谢Rishat Muhametshin。

我认为在发布问题之前我已经尝试了这个。我错过的神奇词汇是!重要。

.ui .results {
    top:auto !important;
    bottom:30px !important;
}

Search results on the top