Skip to content

Commit

Permalink
CSS Overflow fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jotron committed Feb 22, 2018
1 parent 63594fb commit c870a5e
Show file tree
Hide file tree
Showing 7 changed files with 736 additions and 36 deletions.
4 changes: 3 additions & 1 deletion public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ function createWindow () {
mainWindow = new BrowserWindow({
width: 800,
height: 600,
icon: path.join(__dirname, 'ressources/icons/png/64x64.png')
icon: path.join(__dirname, 'ressources/icons/png/64x64.png'),
minWidth: 150,
minHeight: 350
});

// and load the index.html of the app.
Expand Down
2 changes: 1 addition & 1 deletion src/components/home/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
right: 0;
opacity: 0.5;
}
#main {
#allsets {
text-align: center;
}
/* SETS */
Expand Down
4 changes: 2 additions & 2 deletions src/components/home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class Addset extends Component {
}
getfile() {
var fileNames = logic.get();
if(fileNames != undefined){
if(fileNames !== undefined){
this.setState({
setpath: fileNames[0]
});
Expand Down Expand Up @@ -194,7 +194,7 @@ function App() {
<header id="header">
<h2>Sets</h2>
</header>
<section id="main" className="container">
<section id="allsets" className="container">
<Allsets />
</section>
</div>
Expand Down
9 changes: 5 additions & 4 deletions src/components/oneset/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, { Component } from 'react';
import * as Mousetrap from 'mousetrap'
import './oneset.css';
import './markdown.css';
import { Link, Redirect } from 'react-router-dom'
import * as mypouch from '../../pouch.js';

Expand Down Expand Up @@ -51,19 +52,19 @@ class Card extends Component {
render() {
return (
<div>
<div className="cardside frontside"
<div className="container cardside" id="frontside"
onClick={() => this.hide()}>
<h4 dangerouslySetInnerHTML={{__html: this.props.cards[this.state.index].f}}>
</h4>
</div>
{
(!this.state.hidden)? (
<div className="cardside backside">
<div id="backcardcontainer" dangerouslySetInnerHTML={{__html: this.props.cards[this.state.index].b}}></div>
<div className="cardside container" id="backside">
<div className="innercard markdown-body" dangerouslySetInnerHTML={{__html: this.props.cards[this.state.index].b}}></div>
</div>
) : (null)
}
<div>
<div id="arrow-container">
<a className="fa fa-arrow-left fa-lg arrows"
aria-hidden="true"
onClick={() => this.backward()}></a>
Expand Down
1 change: 0 additions & 1 deletion src/components/oneset/katex.min.css

This file was deleted.

Loading

0 comments on commit c870a5e

Please sign in to comment.