0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-08 16:28:41 +00:00
Commit Graph

487 Commits

Author SHA1 Message Date
Trevor Buckner 7843691c4b add "page" class to print page
With the style panel we added a `page` css class alongside the `phb` and `phb3` classes so users can write CSS that targets all pages no matter the base CSS loaded. This wasn't applied to the print page.

Funnily enough, the rest of the site uses `.page` just to display the website, and I didn't realize there was a conflict until now because otherwise, the brew is usually hidden in an iFrame.
2021-06-25 00:53:25 -04:00
Trevor Buckner d9effacb20 Merge branch 'master' into pr/1410 2021-06-25 00:37:53 -04:00
Trevor Buckner 0616ce62eb Rearrange so loading from one doesn't override the other 2021-06-25 00:15:49 -04:00
Trevor Buckner a171de32d8 Merge branch 'master' into pr/1401 2021-06-25 00:03:49 -04:00
Trevor Buckner e07bb1b3c2 Don't save style tab if user never put anything in it 2021-06-24 23:29:01 -04:00
G.Ambatte 1f830b96b5 Inital pass at getting brew.style to apply when accessing /print from /new without saving. 2021-06-24 21:05:32 +12:00
G.Ambatte 142c9ad3b7 Fix loading Style data from local storage, and add fix for Linter. 2021-06-21 20:14:58 +12:00
G.Ambatte a74916d593 Removed CSS splitting from homebrew.api.js and back to newPage.jsx. 2021-06-21 19:46:54 +12:00
G.Ambatte ad0e4a2099 Lint fixes. 2021-06-21 19:39:30 +12:00
G.Ambatte 2613d43f3c Shift CSS processing from newPage.jsx/save to homebrew.api.js/newBrew, as this function is only called when saving new Brews. 2021-06-21 19:38:02 +12:00
Sean Robertson 09c7f45c69 Clear data from new key when appropriate 2021-06-21 16:27:18 +12:00
Sean Robertson 0eaeb748f4 Add local storage key to store Brew Style data
Add local storage key for storing Brew Style data.
2021-06-21 16:15:37 +12:00
Sean Robertson b72191ae68 Increase Linter max lines for newPage.jsx
Increase the maximum number of lines permitted by the Linter for the newPage.jsx file to 300 (was 200).
2021-06-21 13:04:29 +12:00
Sean Robertson cf4bfc35ea Add new line before appending style data
Add a new line between the existing style data and the appended codefenced style data.
2021-06-21 13:00:12 +12:00
Sean Robertson 69231ba57a Initial pass at appending codefenced CSS to Style data at save time, only on /new brews (so only once per brew). 2021-06-21 12:34:51 +12:00
Trevor Buckner 6ecf546baf Fix github link in Edit Page error popup. 2021-06-20 15:04:23 -04:00
Trevor Buckner f5bd7db388 Merge branch 'master' into pr/1353 2021-06-20 14:19:51 -04:00
Trevor Buckner 4d5653854a fix version number 2021-06-10 15:48:29 -04:00
Trevor Buckner f80d5e6b52 Fix sanitizing brews in user page, hide own G brews on other profiles 2021-06-10 14:22:12 -04:00
Trevor Buckner fc8be9c8fb Babel to support ES6 Javascript in older browsers 2021-06-10 00:09:29 -04:00
G.Ambatte 70bdb07c1e Update client/homebrew/editor/metadataEditor/metadataEditor.jsx
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2021-06-09 21:42:12 +12:00
Trevor Buckner 51aba937f5 Fix CSS highlighting 2021-06-07 11:51:02 -04:00
Trevor Buckner 1ef5bfed94 Remove default text 2021-06-05 16:09:23 -04:00
Trevor Buckner e67fadef02 Separate "style" and "metadata" panels 2021-06-05 15:58:31 -04:00
G.Ambatte 23e773ce64 Update client/homebrew/editor/metadataEditor/metadataEditor.jsx
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2021-05-18 16:37:13 +12:00
G.Ambatte 3b34fe72b9 Lint fix. 2021-05-17 19:23:35 +12:00
Sean Robertson 34f620c59b Fix 'Share to Reddit' link for Google brews
Fix 'Share to Reddit' generating incorrect links for brews stored on Google Drive
2021-05-17 12:16:22 +12:00
Trevor Buckner 1ad46c1ba9 Update changelog, update v3 snippets for tables 2021-05-02 22:08:25 -04:00
Trevor Buckner b20b981a01 Merge pull request #1338 from G-Ambatte/includeTitleInNew
Update to include brew title, description, systems, etc. on the new page
2021-05-02 20:12:33 -04:00
Trevor Buckner 0423a43650 Tweak h1 2021-05-02 19:24:37 -04:00
G.Ambatte 2ba10655a8 Update to include brew title, description, systems, etc. on the new page 2021-05-01 14:38:54 +12:00
Trevor Buckner a95e3552ff All headers updated 2021-04-29 22:18:04 -04:00
Trevor Buckner fe03cca72b Update Booksanity Bold Italic font
The "Remake" version of BoldItalic font by /u/Barkalot was only Semibold, so updated the font to be thicker by simply using a slanted version (12 deg) of the Bold font.
2021-04-26 12:11:48 -04:00
Trevor Buckner 2007113ed8 Change spacing and padding for table cells 2021-04-26 12:10:04 -04:00
Trevor Buckner cf3bf459f4 Merge pull request #1318 from Jc-L/typo-fixes
Fix minor typo
2021-04-25 23:41:45 -04:00
Trevor Buckner c9a84a1813 Prevent accidental transfers from google to HB when not signed in 2021-04-25 23:38:44 -04:00
Trevor Buckner 7186a94c27 Do not force brew back to Homebrew if a Google save fails 2021-04-23 22:10:56 -04:00
Jean-Charles Longuet 9fc31e7f39 Fix minor typo 2021-04-09 13:42:09 +02:00
Trevor Buckner 983a37c77f Make cursor move to end of snippet after insertion 2021-04-06 11:43:34 -04:00
Trevor Buckner a3b6a90fde Delete MonsterBorderFancy.png 2021-04-05 01:12:23 -04:00
Trevor Buckner b771d82100 fix image file name 2021-04-05 01:11:55 -04:00
Trevor Buckner 14d83d4263 Move base64 images out to files 2021-04-05 01:01:18 -04:00
Trevor Buckner 73ccad8a76 Remove unused images. 2021-04-04 23:28:44 -04:00
Trevor Buckner c186b6677b Clean up duplicate code in snippet generator 2021-04-04 16:22:50 -04:00
Trevor Buckner ea9ba84dc2 Snippet for unframed monster block. 2021-04-04 12:50:12 -04:00
Trevor Buckner bf616494f1 Fix padding so margin-top is not needed 2021-04-04 12:28:36 -04:00
Trevor Buckner 0b54bc046d Update wide monster snippet to use {{ 2021-04-04 00:16:29 -04:00
Trevor Buckner c8c1966b8a Fix top margin 2021-04-04 00:11:14 -04:00
Trevor Buckner 9ad1c91472 Add wide monster blocks 2021-04-03 01:54:24 -04:00
Trevor Buckner d8525f0eba .frame class to enable/remove the border 2021-04-02 14:01:27 -04:00