ReadAllNotificationButton: make button less ugly
This commit is contained in:
parent
0d22ff0091
commit
8ab56f5bcf
|
@ -16,6 +16,8 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import "./style.css";
|
||||
|
||||
import { addServerListElement, removeServerListElement, ServerListRenderPosition } from "@api/ServerList";
|
||||
import { Devs } from "@utils/constants";
|
||||
import definePlugin from "@utils/types";
|
||||
|
@ -49,9 +51,11 @@ const ReadAllButton = () => (
|
|||
<Button
|
||||
onClick={onClick}
|
||||
size={Button.Sizes.MIN}
|
||||
color={Button.Colors.BRAND}
|
||||
style={{ marginTop: "2px", marginBottom: "8px", marginLeft: "9px" }}
|
||||
>Read all</Button>
|
||||
color={Button.Colors.CUSTOM}
|
||||
className="vc-ranb-button"
|
||||
>
|
||||
Read All
|
||||
</Button>
|
||||
);
|
||||
|
||||
export default definePlugin({
|
||||
|
|
11
src/plugins/readAllNotificationsButton/style.css
Normal file
11
src/plugins/readAllNotificationsButton/style.css
Normal file
|
@ -0,0 +1,11 @@
|
|||
.vc-ranb-button {
|
||||
color: var(--interactive-normal);
|
||||
padding: 0 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.vc-ranb-button:hover {
|
||||
color: var(--interactive-active);
|
||||
}
|
Loading…
Reference in a new issue