Skip to content

Commit

Permalink
Merge pull request #96 from bookmark-org/83-ui-bug-bulk-archive-page-…
Browse files Browse the repository at this point in the history
…on-mobile

83 UI bug bulk archive page on mobile
  • Loading branch information
leobz authored Jun 27, 2023
2 parents e522055 + a59fdd7 commit fa77c47
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,16 @@
}

.donate-button {
height: 66px;
height: auto;
line-height: 1.5;
font-size: 23px;
font-weight: bold;
border-radius: 10px;
color: #ce0000;
background-color: black;
border: 1px solid white;
border: 1px solid white;
white-space: normal;
word-wrap: break-word;
}

.go-button {
Expand Down Expand Up @@ -967,3 +970,10 @@ body {
}




/***************************************** Bulk Archives **************************************/

@media screen and (max-width: 350px) {.responsive-form {width: auto;}}
@media screen and (min-width: 350px) {.responsive-form {width: 300px;}}
@media screen and (min-width: 550px) {.responsive-form {width: 500px;}}
4 changes: 2 additions & 2 deletions lib/bookmark_web/live/bulk_archives.ex
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ defmodule BookmarkWeb.BulkArchivesLive do
<% end %>
</ul>
<% else %>
<.form for={@form} phx-submit="save">
<.form for={@form} phx-submit="save" class="responsive-form">
<textarea placeholder="Paste your URLs here, one per line:
https://www.example.com/
https://www.google.com/"
name="urls" style="height: 100px; width: 500px; background-color: white; font-size: 16px;"><%= if @links, do: @links%></textarea>
name="urls" style="height: 100px; width: 100%; background-color: white; font-size: 16px;"><%= if @links, do: @links%></textarea>
<button class="donate-button">Bulk archive</button>
</.form>
Expand Down

0 comments on commit fa77c47

Please sign in to comment.