Skip to content

Commit 5bbd0e5

Browse files
committed
embed tweaks: more tweaks for embed wrapping, reformat
1 parent e463296 commit 5bbd0e5

File tree

2 files changed

+19
-14
lines changed

2 files changed

+19
-14
lines changed

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ The Chromium extension and Electron app are built from the same source code for
3232
To build the extension or Electron app locally for development, do the following:
3333

3434
1. Clone this repo:
35-
```sh
36-
git clone https://github.com/webrecorder/archiveweb.page.git
37-
```
35+
```sh
36+
git clone https://github.com/webrecorder/archiveweb.page.git
37+
```
3838
2. Change the working directory:
39-
```sh
40-
cd archiveweb.page
41-
```
39+
```sh
40+
cd archiveweb.page
41+
```
4242
3. Install dependencies:
43-
```sh
44-
yarn install
45-
```
43+
```sh
44+
yarn install
45+
```
4646
4. Make development build:
47-
```sh
48-
yarn build-dev
49-
```
47+
```sh
48+
yarn build-dev
49+
```
5050

5151
The development build can now be used to develop the extension or Electron app.
5252

@@ -79,6 +79,7 @@ After making changes, the extension still needs to be reloaded in the browser.
7979
### Developing the Electron app
8080

8181
To start the Electron app using development build:
82+
8283
```sh
8384
yarn run start-electron
8485
```

src/ui/coll.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,16 @@ class WrRecColl extends Item {
7878
@media screen and (max-width: 768px) {
7979
div.has-addons {
8080
flex-wrap: wrap;
81-
justify-content: flex-end;
8281
}
8382
8483
div.has-addons form {
8584
display: contents;
8685
}
86+
87+
.rec-controls {
88+
width: 100%;
89+
justify-content: space-between !important;
90+
}
8791
}
8892
8993
${Item.compStyles}
@@ -162,7 +166,7 @@ class WrRecColl extends Item {
162166
}
163167

164168
return html`
165-
<div class="is-flex is-flex-direction-row">
169+
<div class="is-flex is-flex-direction-row rec-controls">
166170
<a
167171
href="#"
168172
role="button"

0 commit comments

Comments
 (0)