mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
PM-27366 drop scss and convert to vanilla css (#17046)
This commit is contained in:
@@ -1,10 +1,7 @@
|
|||||||
import { AutofillOverlayElement } from "../../../../enums/autofill-overlay.enum";
|
import { AutofillOverlayElement } from "../../../../enums/autofill-overlay.enum";
|
||||||
|
|
||||||
import { AutofillInlineMenuButton } from "./autofill-inline-menu-button";
|
import { AutofillInlineMenuButton } from "./autofill-inline-menu-button";
|
||||||
|
import "./button.css";
|
||||||
// FIXME: Remove when updating file. Eslint update
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
||||||
require("./button.scss");
|
|
||||||
|
|
||||||
(function () {
|
(function () {
|
||||||
globalThis.customElements.define(AutofillOverlayElement.Button, AutofillInlineMenuButton);
|
globalThis.customElements.define(AutofillOverlayElement.Button, AutofillInlineMenuButton);
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
@import "../../../../shared/styles/variables";
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
@@ -27,10 +25,10 @@ autofill-inline-menu-button {
|
|||||||
border: none;
|
border: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
}
|
||||||
.inline-menu-button-svg-icon {
|
|
||||||
display: block;
|
.inline-menu-button .inline-menu-button-svg-icon {
|
||||||
width: 100%;
|
display: block;
|
||||||
height: auto;
|
width: 100%;
|
||||||
}
|
height: auto;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user