Skip to content

Commit

Permalink
Fixed permalink validation issues. (#2071)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Zaslonov <alzaslon@microsoft.com>
  • Loading branch information
azaslonov and alzaslon authored Jan 19, 2023
1 parent 56e0fa5 commit f23b624
Show file tree
Hide file tree
Showing 8 changed files with 173 additions and 205 deletions.
305 changes: 123 additions & 182 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@
"@braintree/sanitize-url": "6.0.2",
"@microsoft/applicationinsights-web": "^2.8.9",
"@monaco-editor/loader": "^1.3.2",
"@paperbits/azure": "0.1.536",
"@paperbits/common": "0.1.536",
"@paperbits/core": "0.1.536",
"@paperbits/forms": "0.1.536",
"@paperbits/prosemirror": "0.1.536",
"@paperbits/styles": "0.1.536",
"@paperbits/azure": "0.1.545",
"@paperbits/common": "0.1.545",
"@paperbits/core": "0.1.545",
"@paperbits/forms": "0.1.545",
"@paperbits/prosemirror": "0.1.545",
"@paperbits/styles": "0.1.545",
"@webcomponents/custom-elements": "1.5.1",
"@webcomponents/shadydom": "^1.10.0",
"client-oauth2": "4.3.3",
Expand Down
3 changes: 3 additions & 0 deletions src/components/app/app.html
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<workshops></workshops>
<tray></tray>
<dropbucket></dropbucket>
<view-manager></view-manager>
2 changes: 0 additions & 2 deletions src/startup.publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import * as path from "path";
import { ISettingsProvider } from "@paperbits/common/configuration";
import { InversifyInjector } from "@paperbits/common/injection";
import { IPublisher } from "@paperbits/common/publishing";
import { CoreModule } from "@paperbits/core/core.module";
import { CorePublishModule } from "@paperbits/core/core.publish.module";
import { FormsModule } from "@paperbits/forms/forms.module";
import { ProseMirrorModule } from "@paperbits/prosemirror/prosemirror.module";
Expand Down Expand Up @@ -37,7 +36,6 @@ const outputBlobStorage = new FileSystemBlobStorage("./dist/website");

/* Initializing dependency injection container */
const injector = new InversifyInjector();
injector.bindModule(new CoreModule());
injector.bindModule(new CorePublishModule());
injector.bindModule(new StylePublishModule());
injector.bindModule(new ProseMirrorModule());
Expand Down
45 changes: 31 additions & 14 deletions src/themes/designer/styles/editors/colorSelector.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
.color {
cursor: pointer;
border-radius: 50%;
box-shadow: inset -1px 1px 1px 0 rgba(0, 0, 0, 0.1);
width: 30px;
height: 30px;
margin: 10px;
padding: 0;
display: block;
position: relative;
text-align: center;
line-height: 30px;
}

.pseudo-transparent-bckg {
position: relative;
Expand All @@ -26,7 +13,7 @@
.color-box {
float: left;
position: relative;
@include selection(10px);
cursor: pointer;

&.selected:before {
position: absolute;
Expand All @@ -40,5 +27,35 @@
left: 50%;
transform: translate(-50%, -50%);
}

&:focus,
&:hover {
outline: none;
@include selection(10px);
}

.color-box-wrapper {
position: relative;
display: block;
border: 0.2px solid #ccc;
border-radius: 50%;
box-shadow: inset 1px 1px 1px 0 rgba(0, 0, 0, 0.3);
width: 30px;
height: 30px;
margin: 10px;
padding: 0;
line-height: 30px;
overflow: hidden;

&.pseudo-transparent-bckg {
@include pseudo-transparent-bckg();
}
}

.color {
@include fit();
display: block;
text-align: center;
}
}
}
5 changes: 5 additions & 0 deletions src/themes/website/styles/widgets/picture.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.picture {
display: inline-block;
flex-basis: auto;
max-width: 100%;
}
3 changes: 3 additions & 0 deletions src/themes/website/styles/widgets/tables.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.table {
overflow: auto;
display: block;
flex-basis: 100%;
max-width: 100%;
}
3 changes: 2 additions & 1 deletion src/themes/website/styles/widgets/widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
@import "tabs.scss";
@import "popups.scss";
@import "tables.scss";
@import "tabs.scss";
@import "tabs.scss";
@import "picture.scss";

0 comments on commit f23b624

Please sign in to comment.