Skip to content

Commit a8b6bae

Browse files
committed
Renamed CSS back to original
1 parent 0315c64 commit a8b6bae

File tree

5 files changed

+12
-24
lines changed

5 files changed

+12
-24
lines changed

package-lock.json

Lines changed: 7 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sharedb-ace.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components/workspace/ControlBar.tsx

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class ControlBar extends React.PureComponent<ControlBarProps, {}> {
126126
}`;
127127

128128
const shareButton = this.props.hasShareButton ? (
129-
<Popover popoverClassName="Popover-custom" inheritDarkTheme={false}>
129+
<Popover popoverClassName="Popover-share" inheritDarkTheme={false}>
130130
{controlButton('Share', IconNames.SHARE, this.props.handleGenerateLz)}
131131
{this.props.queryString === undefined ? (
132132
<Text>
@@ -192,7 +192,7 @@ class ControlBar extends React.PureComponent<ControlBarProps, {}> {
192192
e.preventDefault();
193193
};
194194
const inviteButton = this.props.hasCollabEditing ? (
195-
<Popover popoverClassName="Popover-custom" inheritDarkTheme={false}>
195+
<Popover popoverClassName="Popover-share" inheritDarkTheme={false}>
196196
{controlButton('Invite', IconNames.SHARE, handleStartInvite)}
197197
<>
198198
<input value={this.props.editorSessionId} readOnly={true} ref={this.inviteInputElem} />
@@ -205,7 +205,7 @@ class ControlBar extends React.PureComponent<ControlBarProps, {}> {
205205
undefined
206206
);
207207
const joinButton = this.props.hasCollabEditing ? (
208-
<Popover popoverClassName="Popover-custom" inheritDarkTheme={false}>
208+
<Popover popoverClassName="Popover-share" inheritDarkTheme={false}>
209209
{controlButton('Join', IconNames.LOG_IN)}
210210
<>
211211
<form onSubmit={handleStartJoining}>

src/components/workspace/Editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Editor extends React.PureComponent<IEditorProps, {}> {
5252
const editor = (this.AceEditor.current as any).editor;
5353
const session = editor.getSession();
5454

55-
// Change all info annotations to error annotations
55+
// Change all warning annotations to error annotations
5656
session.on('changeAnnotation', () => {
5757
const annotations = session.getAnnotations();
5858
let count = 0;

src/styles/_workspace.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ $code-color-error: #ff4444;
305305
}
306306
}
307307

308-
.Popover-custom {
308+
.Popover-share {
309309
.pt-popover-arrow-fill {
310310
fill: $cadet-color-4;
311311
}

0 commit comments

Comments
 (0)