mirror of
https://github.com/wassname/talk.git
synced 2026-07-05 00:52:27 +08:00
More style
This commit is contained in:
@@ -12,8 +12,8 @@ interface PermalinkProps {
|
||||
}
|
||||
|
||||
class Permalink extends React.Component<PermalinkProps> {
|
||||
// Helpers that prevents calling toggleVisibility more then once per frame.
|
||||
// In essence this means we'll only process an event only once.
|
||||
// Helper that prevents calling toggleVisibility more then once per frame.
|
||||
// In essence this means we'll process an event only once.
|
||||
// This might happen, when clicking on the button which will
|
||||
// cause its onClick to happen as well as onClickOutside.
|
||||
private toggleVisibilityOncePerFrame = oncePerFrame(
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.root {
|
||||
background: var(--palette-common-white);
|
||||
border: 1px solid var(--palette-grey-light);
|
||||
border: 1px solid var(--palette-grey-lighter);
|
||||
box-sizing: border-box;
|
||||
box-shadow: var(--elevation-main);
|
||||
border-radius: var(--round-corners);
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
.root {
|
||||
composes: textField from "talk-ui/shared/typography.css";
|
||||
background: #ffffff;
|
||||
border: 1px solid #979797;
|
||||
background: var(--palette-common-white);
|
||||
border: 1px solid var(--palette-grey-lighter);
|
||||
box-sizing: border-box;
|
||||
border-radius: 1px;
|
||||
border-radius: var(--round-corners);
|
||||
padding: calc(0.5 * var(--spacing-unit));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user