remove 100% width

This commit is contained in:
Aaron Bieber 2023-05-25 06:08:43 -06:00
parent beaf1ac0f3
commit f90ff09784
No known key found for this signature in database
2 changed files with 11 additions and 17 deletions

View File

@ -8830,7 +8830,15 @@ var $rtfeldman$elm_css$Css$prop1 = F2(
return A2($rtfeldman$elm_css$Css$property, key, arg.z); return A2($rtfeldman$elm_css$Css$property, key, arg.z);
}); });
var $rtfeldman$elm_css$Css$padding = $rtfeldman$elm_css$Css$prop1('padding'); var $rtfeldman$elm_css$Css$padding = $rtfeldman$elm_css$Css$prop1('padding');
var $rtfeldman$elm_css$Css$PercentageUnits = 0; var $rtfeldman$elm_css$Html$Styled$Attributes$stringProperty = F2(
function (key, string) {
return A2(
$rtfeldman$elm_css$VirtualDom$Styled$property,
key,
$elm$json$Json$Encode$string(string));
});
var $rtfeldman$elm_css$Html$Styled$Attributes$placeholder = $rtfeldman$elm_css$Html$Styled$Attributes$stringProperty('placeholder');
var $rtfeldman$elm_css$Css$PxUnits = 0;
var $rtfeldman$elm_css$Css$Structure$Compatible = 0; var $rtfeldman$elm_css$Css$Structure$Compatible = 0;
var $elm$core$String$fromFloat = _String_fromNumber; var $elm$core$String$fromFloat = _String_fromNumber;
var $rtfeldman$elm_css$Css$Internal$lengthConverter = F3( var $rtfeldman$elm_css$Css$Internal$lengthConverter = F3(
@ -8858,16 +8866,6 @@ var $rtfeldman$elm_css$Css$Internal$lengthConverter = F3(
unitLabel) unitLabel)
}; };
}); });
var $rtfeldman$elm_css$Css$pct = A2($rtfeldman$elm_css$Css$Internal$lengthConverter, 0, '%');
var $rtfeldman$elm_css$Html$Styled$Attributes$stringProperty = F2(
function (key, string) {
return A2(
$rtfeldman$elm_css$VirtualDom$Styled$property,
key,
$elm$json$Json$Encode$string(string));
});
var $rtfeldman$elm_css$Html$Styled$Attributes$placeholder = $rtfeldman$elm_css$Html$Styled$Attributes$stringProperty('placeholder');
var $rtfeldman$elm_css$Css$PxUnits = 0;
var $rtfeldman$elm_css$Css$px = A2($rtfeldman$elm_css$Css$Internal$lengthConverter, 0, 'px'); var $rtfeldman$elm_css$Css$px = A2($rtfeldman$elm_css$Css$Internal$lengthConverter, 0, 'px');
var $rtfeldman$elm_css$VirtualDom$Styled$Unstyled = function (a) { var $rtfeldman$elm_css$VirtualDom$Styled$Unstyled = function (a) {
return {$: 4, a: a}; return {$: 4, a: a};
@ -9054,7 +9052,6 @@ var $author$project$Main$viewValidation = function (model) {
return false; return false;
} }
}; };
var $rtfeldman$elm_css$Css$width = $rtfeldman$elm_css$Css$prop1('width');
var $author$project$Main$view = function (model) { var $author$project$Main$view = function (model) {
return A2( return A2(
$rtfeldman$elm_css$Html$Styled$div, $rtfeldman$elm_css$Html$Styled$div,
@ -9064,9 +9061,7 @@ var $author$project$Main$view = function (model) {
_List_fromArray( _List_fromArray(
[ [
$rtfeldman$elm_css$Css$padding( $rtfeldman$elm_css$Css$padding(
$rtfeldman$elm_css$Css$px(30)), $rtfeldman$elm_css$Css$px(30))
$rtfeldman$elm_css$Css$width(
$rtfeldman$elm_css$Css$pct(100))
])) ]))
]), ]),
_List_fromArray( _List_fromArray(

View File

@ -1,7 +1,7 @@
module Main exposing (..) module Main exposing (..)
import Browser import Browser
import Css exposing (alignItems, center, display, padding, pct, px, width) import Css exposing (padding, px)
import Html.Styled exposing (..) import Html.Styled exposing (..)
import Html.Styled.Attributes exposing (css, disabled, href, placeholder, style) import Html.Styled.Attributes exposing (css, disabled, href, placeholder, style)
import Html.Styled.Events exposing (onClick, onInput) import Html.Styled.Events exposing (onClick, onInput)
@ -91,7 +91,6 @@ view model =
div div
[ css [ css
[ padding (px 30) [ padding (px 30)
, width (pct 100)
] ]
] ]
[ div [] [ div []