Comments (14)
Gotcha! Could this also be solved by changing the html from
<div class="container paper">
to
<div class="container">
<div class="paper">
That way the paper width of 100% is within the container and not overriding it.
I'm just trying to find ways around using !important
. This way it's easier for someone using PaperCSS to override the styles if need be.
from papercss.
Ah dang. The culprit is the CDN url. Just a simple overflow-wrap: break-word;
style should fix this.
from papercss.
So shouldn't this property be added to a component?
from papercss.
We missed this...
from papercss.
table tbody tr td {
padding: 8px;
line-height: 1.5;
vertical-align: top;
border-top: 1px dashed #d9d9d8;
}
The padding is the problem
from papercss.
Proposed fix:
- Padding for
table tbody tr td
must be in percentage - Adding
!important
in media query for container width
.container {
width: 100%;
max-width: 960px;
position: relative;
margin: 0 auto;
@media @medium-screen {
width: 85% !important;
}
@media @xsmall-screen {
width: 90% !important;
}
from papercss.
Good catch with the padding! And is the !important
tag needed here?
from papercss.
@rhyneav I think the !important
tag override the default width
which is set upper.
from papercss.
@rhyneav Yes it's needed
@TotomInc It does override only for the specified screen-size which is actually desired to achieve
from papercss.
Great! Your fix works. I totally forgot about problem with overriding !important
😅
from papercss.
Is anyone assigned to this issue?
from papercss.
Nope! Do you want to take this one @afzalsayed96?
from papercss.
I'm on it
from papercss.
You rock, thank you @afzalsayed96!
from papercss.
Related Issues (20)
- More variants for radio buttons
- Dropdown in navbar
- Vertical menu
- Library for react native HOT 3
- Enable "font-display: swap " to avoid showing invisible text HOT 1
- horizontal form can't display in line because display:block HOT 5
- Display modal in front of nav HOT 1
- Slider with two colors like progress bar HOT 1
- Inputs and labels not shown inside collapsible HOT 2
- Long collapsible content not visible HOT 1
- Default background color for `<html>` element HOT 2
- Unchecked runtime.lastError: The message port closed before a response was received. HOT 2
- Stylelint Error HOT 3
- Show modal with JS HOT 1
- Breaking change in Sass: Color Units HOT 1
- Can you use Sass module system with PaperCSS? HOT 1
- Host font locally HOT 3
- unexpected line skip with <p> inside <li> HOT 6
- Popover triggered by transparent pseudo-element HOT 2
- Form elements broken inside Tabs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from papercss.